ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt. The vulnerability is located in the filter_history function within the utils.py module. This function takes a user-provided keyword and attempts to match it against chat history filenames using a regular expression search. Due to the lack of sanitization or validation of the keyword parameter, an attacker can inject a specially crafted regular expression, leading to a denial of service condition. This can cause severe degradation of service performance and potential system unavailability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | before 20240918 | 20240918 | Patch available | CNA |
- gaizhenbiao/chuanhuchatgpt Vendorgaizhenbiao Affected before 20240918 Fixed in 20240918 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:* | 20240410 | Vulnerable | gaizhenbiao |
- cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:20240410:*:*:*:*:*:*:* Versions 20240410 Vulnerable ·gaizhenbiao
Remediation
- Fix · CNA gaizhenbiao/chuanhuchatgpt (gaizhenbiao) Fixed in 20240918
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
gaizhenbiao/chuanhuchatgpt 20240918
2 records Highest priority Priority HIGH 2 HIGH
Other records, highest priority first
- TI-2024-05645 Path Traversal Vulnerability in gaizhenbiao/chuanhuchatgptPriority HIGH 72
Timeline
- 2026-10-02 Threatist record created from CVE-2024-6038
- 2026-10-03 Alias added: GHSA-6w57-8p2p-2r2x
- 2026-10-11 EPSS moved to the 50th–90th percentile
References
More gaizhenbiao Chuanhuchatgpt vulnerabilities
- TI-2024-03032 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
- TI-2024-05543 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.8
- TI-2024-05399 Server-Side Request Forgery (SSRF) in gaizhenbiao/ChuanhuChatGPT CVSS 3.1CRITICAL 9.8
- TI-2024-05802 Path Traversal in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
- TI-2024-05594 Arbitrary Folder Creation in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
- TI-2024-05593 Denial of Service in gaizhenbiao/chuanhuchatgpt CVSS 3.1CRITICAL 9.1
Sources
- CVE-2024-6038 · CVE Program
- CVE-2024-6038 · NVD
- FIRST EPSS
- GHSA-6w57-8p2p-2r2x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences