Vulnerability Intelligence Report
python-multipart vulnerable to content-type header Regular expression Denial of Service
CVE-2024-24762
`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.
No Active Exploit Signals
CVSS Base Score
7.5
HIGH
Exploitability:3.9
Impact Score:3.6
EPSS Probability:1.52%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—
Weaknesses (CWE)
CWE-400 ↗CWE-400 Uncontrolled Resource Consumption
Affected Products & Versions
| Vendor | Product | Affected Versions |
|---|---|---|
| Kludex | python-multipart | 0 < 0.0.7 (affected) |
| tiangolo | fastapi | 0 < 0.109.1 (affected) |
| encode | starlette | 0 < 0.36.2 (affected) |
References & Technical Advisories
No reference links found.
Threat Intelligence Signals
EPSS Score
1.523%
GitHub Advisory
Identity & Timeline
| Status | PUBLISHED |
| Assigning Authority | GitHub, Inc. · Vendor · USA |
| Reserved | 2024-01-29T20:51:26 |
| Published | 2024-02-05T14:33:06 |
| Last Updated | 2025-05-09T16:32:50 |
Community Chatter & Buzz