CVE-2024-6038
published high CVSS 3.0 · 7.5ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gaizhenbiao | gaizhenbiao/chuanhuchatgpt | unspecified to < 20240918 (affected · custom) | @huntr_ai · cna |
| gaizhenbiao | chuanhuchatgpt | 0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
2Provider assertions
3@huntr_ai · cna
ReDoS Vulnerability in gaizhenbiao/chuanhuchatgpt
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e98b601998352f527cdc0c6067123a3bc1b018a49a15d33b1f7a6ee5d50d66ed
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record