CVE-2024-10955CWE-1333

ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt

Medium · published March 20, 2025

CVSS v3.0
6.5
EPSS
1%
Percentile
54.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.5 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00744 · 54.2th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-03-20T10:11Z
EPSS history
Timeline
  • 20 MAR 10:11Z
    ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt
    cvelistv5