Skip to content
MediumVulnerabilityLLM-specific

CVE-2024-10955: gaizhenbiao/chuanhuchatgpt ReDoS through crafted JSON upload

Identifier
CVE-2024-10955
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A ReDoS vulnerability in gaizhenbiao/chuanhuchatgpt as of commit 20b2e02 stems from the server parsing user input with the regex `r'<[^>]+>'`. Crafted input can drive Python's default regex engine into polynomial-time matching, so an attacker uploading a malicious JSON payload can push the server to 100% CPU for an extended period, causing a Denial of Service that may affect the entire server.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.