CVE-2024-10955: PYSEC-2025-94 - A Regular Expression Denial of Service (ReDoS) vulnerability exists in gaizhenbiao/chuanhuchatgpt, as…

CVE-2024-10955 · Severity: low · CVSS 3 · Published 2025-03-20

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.

Technologies: chuanhuchatgpt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-10955 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-10955 being exploited in the wild.
How severe is CVE-2024-10955?
Low severity, with a CVSS score of 3, published 20 March 2025.
Which products and versions are affected?
chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=2024-09-19.
Is there a fix for CVE-2024-10955?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-10955?
Check whether you run chuanhuchatgpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • chuanhuchatgpt (PyPI) ECOSYSTEM:introduced=0,last_affected=2024-09-19

Identifiers

  • CVE-2024-10955
  • PYSEC-2025-94

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.