{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-2217","published":"2024-04-10T17:15:54.440000Z","last_modified":"2026-06-17T07:23:57.330000Z","status":"Analyzed","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"security@huntr.dev","primary":false},"auth":false,"cwes":["CWE-284"],"cpes":[{"criteria":"cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240121:*:*:*:*:*:*:*","part":"a","vendor":"gaizhenbiao","product":"chuanhuchatgpt","version":"20240121"}],"cpes_truncated":false,"vendors":["gaizhenbiao"],"products":["gaizhenbiao/chuanhuchatgpt"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00917,"percentile":0.58467,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"PYSEC-2024-316","ecosystem":"PyPI","name":"chuanhuchatgpt","purl":"pkg:pypi/chuanhuchatgpt","ranges":[{"introduced":"0","last_affected":"20240121"}],"versions":["3.2.5"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2024-2217/","html_en":"/en/cve/CVE-2024-2217/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-2217","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-2217"},"untrusted":{"vendor_name":"Gaizhenbiao","product_name":"Chuanhuchatgpt","desc_en":"gaizhenbiao/chuanhuchatgpt is vulnerable to improper access control, allowing unauthorized access to the `config.json` file. This vulnerability is present in both authenticated and unauthenticated versions of the application, enabling attackers to obtain sensitive information such as API keys (`openai_api_key`, `google_palm_api_key`, `xmchat_api_key`, etc.), configuration details, and user credentials. The issue stems from the application's handling of HTTP requests for the `config.json` file, which does not properly restrict access based on user authentication.","affected":[{"untrusted_vendor":"gaizhenbiao","untrusted_product":"gaizhenbiao/chuanhuchatgpt","versions":[]},{"untrusted_vendor":"gaizhenbiao","untrusted_product":"chuanhuchatgpt","versions":[]}],"references":[{"url":"https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d","tags":["Patch"]},{"url":"https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29","tags":["Exploit","Third Party Advisory"]}]}}