{"id":"CVE-2024-10955","state":"PUBLISHED","title":"ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt","description":"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.","publishedAt":"2025-03-20T10:11:01.287Z","updatedAt":"2025-10-15T12:50:14.963Z","severity":{"score":6.5,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["gaizhenbiao gaizhenbiao/chuanhuchatgpt"],"affected":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/8291f8d0-5060-47e7-9986-1f411310fb7b"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/10xxx/CVE-2024-10955.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-10955","state":"PUBLISHED","datePublished":"2025-03-20T10:11:01.287Z","dateUpdated":"2025-10-15T12:50:14.963Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-11-06T22:01:08.107Z"},"containers":{"cna":{"title":"ReDoS (Regular Expression Denial of Service) in gaizhenbiao/chuanhuchatgpt","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"gaizhenbiao","product":"gaizhenbiao/chuanhuchatgpt","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/8291f8d0-5060-47e7-9986-1f411310fb7b"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-10-15T12:50:14.963Z"},"source":{"advisory":"8291f8d0-5060-47e7-9986-1f411310fb7b","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T17:47:40.983329Z","id":"CVE-2024-10955","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T18:14:16.073Z"}}]}}}