{"id":"CVE-2024-10955","published":"2025-03-20T10:11:01Z","modified":"2025-10-15T12:50:14Z","title":"ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt","vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0079,"percentile":0.52822,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://huntr.com/bounties/8291f8d0-5060-47e7-9986-1f411310fb7b","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.56},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gaizhenbiao","affectedVersions":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-20T17:47:40.983329Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"chuanhuchatgpt","vulnerableRanges":["<=2024-09-19"],"patched":[],"from":["PYSEC-2025-94"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-7047","exploited":false,"provenance":"source"}}