Skip to main content
CVE-2024-10955VulnerabilityPublished Updated

CVE-2024-10955: gaizhenbiao/chuanhuchatgpt · ReDoS

Affects gaizhenbiao/chuanhuchatgptSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

AI-suggested

1. Replace the vulnerable regex pattern `<[^>]+>` with a more efficient and safe alternative that avoids catastrophic backtracking, such as using non-greedy quantifiers or specialized parsers for HTML/XML content. 2. Implement strict input validation and sanitization to reject or limit inputs that could trigger regex inefficiencies. 3. Apply resource limits on CPU usage and execution time for regex operations to prevent excessive resource consumption. 4. Monitor server CPU usage and set up alerts for unusual spikes that could indicate exploitation attempts. 5. If possible, update or patch the gaizhenbiao/chuanhuchatgpt project once a fix is released by the vendor or community. 6. Consider isolating the vulnerable service in a sandboxed environment to limit impact. 7. Conduct regular code reviews focusing on regex usage and performance to identify and remediate similar issues proactively. 8. Employ Web Application Firewalls (WAFs) or Intrusion Detection Systems (IDS) to detect and block malicious payloads targeting regex vulnerabilities.

Description

A Regular Expression Denial of Service (ReDoS) vulnerability exists in gaizhenbiao/chuanhuchatgpt, as of commit 20b2e02. The server uses the regex pattern `r'<[^>]+>'` to parse user input. In Python's default regex engine, this pattern can take polynomial time to match certain crafted inputs. An attacker can exploit this by uploading a malicious JSON payload, causing the server to consume 100% CPU for an extended period. This can lead to a Denial of Service (DoS) condition, potentially affecting the entire server.

References

Community reviews

Loading reviews…