{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "20240919-4"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20b2e02824b6e6d1a32c43f7419f321d81db955e"
            },
            {
              "fixed": "ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"
            }
          ],
          "repo": "https://github.com/gaizhenbiao/chuanhuchatgpt",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "In gaizhenbiao/chuanhuchatgpt, specifically the version tagged as 20240121, there exists a vulnerability due to improper access control mechanisms. This flaw allows an authenticated attacker to bypass intended access restrictions and read the `history` files of other users, potentially leading to unauthorized access to sensitive information. The vulnerability is present in the application's handling of access control for the `history` path, where no adequate mechanism is in place to prevent an authenticated user from accessing another user's chat history files. This issue poses a significant risk as it could allow attackers to obtain sensitive information from the chat history of other users.",
  "id": "CVE-2024-3404",
  "modified": "2026-04-01T23:08:27.039202842Z",
  "published": "2024-06-06T19:16:01.673Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/gaizhenbiao/chuanhuchatgpt/commit/ccc7479ace5c9e1a1d9f4daf2e794ffd3865fc2b"
    },
    {
      "type": "FIX",
      "url": "https://huntr.com/bounties/ed32fc32-cb8f-4fbd-8209-cc835d279699"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}