CVE-2024-7962
CVE-2024-7962 · Arbitrary File Read via Insufficient Validation in gaizhenbiao/chuanhuchatgpt
This page contains facts from public vulnerability sources. Check the original advisory before updating.
An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 due to insufficient validation when loading prompt template files. An attacker can read any file that matches specific criteria using an absolute path. The file must not have a .json extension and, except for the first line, every other line must contain commas. This vulnerability allows reading parts of format-compliant files, including code and log files, which may contain highly sensitive information such as account credentials.
CVSS 7.5 · High · EPSS 0.8%
- Published
- Updated
Stack: python
Affected products and versions
gaizhenbiao/chuanhuchatgpt
- Versions
- ≥ unspecified, < 20240918: Affected (custom)
No fix published
chuanhuchatgpt PyPI
- Versions
- 3.2.5
- Affected ranges
- GIT: < 2836fd1db3efcd5ede63c0e7fbbdf677730dbb51
- ECOSYSTEM: (−∞, +∞)
No fix published