PT-2025-12085
CVE-2024-10955
·
Published
2025-03-20
·
Updated
2025-03-20
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
gaizhenbiao/chuanhuchatgpt (affected versions not specified)
Description
A Regular Expression Denial of Service (ReDoS) issue exists due to the server using the regex pattern
r'<[^>]+>' to parse user input. This pattern can take polynomial time to match certain crafted inputs in Python's default regex engine. An attacker can exploit this by uploading a malicious JSON payload, causing the server to consume 100% CPU for an extended period, potentially leading to a Denial of Service (DoS) condition affecting the entire server.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾