CVE-2024-6038 in Gaizhenbiao Chuanhuchatgpt
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 ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gaizhenbiao | Chuanhuchatgpt | 20240410 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-6038 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-224396-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-06-27 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-1333: CWE-1333
Related attack patterns (CAPEC)
CAPEC-492 Regular Expression Exponential Blowup via CWE-1333
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt, affecting the filter_history function in the utils.py module. This vulnerability can cause the application to become unresponsive due to excessive CPU usage when processing malicious input.
The vulnerability is triggered by the filter_history function, which uses a regular expression to match user-provided keywords against chat history filenames. An attacker can exploit this by providing a specially crafted keyword that causes the regular expression engine to perform excessive backtracking, leading to a denial of service.
Questions
What is CVE-2024-6038?
A Regular Expression Denial of Service (ReDoS) vulnerability exists in the latest version of gaizhenbiao/chuanhuchatgpt, affecting the filter_history function in the utils.py module. This vulnerability can cause the application to become unresponsive due to excessive CPU usage when processing malicious input.
What is the CVSS score for CVE-2024-6038?
CVE-2024-6038 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2024-6038 actively exploited?
No confirmed active exploitation of CVE-2024-6038 as of 2026-09-25.
How do I remediate CVE-2024-6038?
Priority: HIGH.
What systems are affected by CVE-2024-6038?
CVE-2024-6038 affects Gaizhenbiao Chuanhuchatgpt.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gaizhenbiao","product":"Chuanhuchatgpt","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.