{"cve":"CVE-2024-2217","nvd":{"published":"2024-04-10T17:15:54.440","modified":"2026-06-17T07:23:57.330","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-284"],"references":["https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d","https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29","https://github.com/gaizhenbiao/chuanhuchatgpt/commit/c5ae3b5ae6b47259e0ce8730e0a47e85121f4a7d","https://huntr.com/bounties/e4df74bf-b2ee-490f-a9c9-e5c8010b8b29"],"products":["gaizhenbiao:chuanhuchatgpt"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-2217","score":0.00785,"percentile":0.56107,"date":"2026-10-31"},"kev":null,"osv":[{"id":"PYSEC-2024-316","url":"https://osv.dev/vulnerability/PYSEC-2024-316","summary":"","modified":"2026-07-13T07:15:20.080849161Z","packages":[{"ecosystem":"PyPI","name":"chuanhuchatgpt","purl":"pkg:pypi/chuanhuchatgpt","ranges":["<=20240121"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}