What’s Vulnerable › Vulnerabilities
CVE-2024-3234: Path Traversal in gaizhenbiao/chuanhuchatgpt
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-22
Description
The gaizhenbiao/chuanhuchatgpt application is vulnerable to a path traversal attack due to its use of an outdated gradio component. The application is designed to restrict user access to resources within the `web_assets` folder. However, the outdated version of gradio it employs is susceptible to path traversal, as identified in CVE-2023-51449. This vulnerability allows unauthorized users to bypass the intended restrictions and access sensitive files, such as `config.json`, which contains API keys. The issue affects the latest version of chuanhuchatgpt prior to the fixed version released on 20240305.
Affected products
- gaizhenbiao/chuanhuchatgpt: before 20240305 — fixed in 20240305
How to fix
Upgrade to a fixed version: gaizhenbiao/chuanhuchatgpt 20240305. Check the vendor advisory for mitigations.
References
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/6b8f7db347b390f6f8bd07ea2a4ef01a47382f00
- https://huntr.com/bounties/277e3ff0-5878-4809-a4b9-73cdbb70dc9f
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/6b8f7db347b390f6f8bd07ea2a4ef01a47382f00
- https://huntr.com/bounties/277e3ff0-5878-4809-a4b9-73cdbb70dc9f
Get alerted when CVE-2024-3234 or the next vulnerability affects your stack