CVE-2024-2217: PYSEC-2024-316 - gaizhenbiao/chuanhuchatgpt is vulnerable to improper access control, allowing unauthorized access to…

CVE-2024-2217 · Severity: low · CVSS 3 · Published 2024-04-10

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.

Technologies: chuanhuchatgpt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-2217 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-2217 being exploited in the wild.
How severe is CVE-2024-2217?
Low severity, with a CVSS score of 3, published 10 April 2024.
Which products and versions are affected?
chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=20240121.
Is there a fix for CVE-2024-2217?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-2217?
Check whether you run chuanhuchatgpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=20240121

Identifiers

  • CVE-2024-2217
  • PYSEC-2024-316

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.