Service hang via pathological Content-Type option
Published Feb 5, 2024 · Updated May 9, 2025
Regular expression denial of service in python-multipart before 0.0.7 allows remote attackers to hang form-processing applications. parse_options_header applies a backtracking custom regular expression to attacker-controlled Content-Type options, stalling the main event loop for minutes or longer. Exposure requires form-data parsing through python-multipart; affected FastAPI before 0.109.1 and Starlette before 0.36.2 services stop handling requests.
Summary
What happened
Regular expression denial of service in python-multipart before 0.0.7 allows remote attackers to hang form-processing applications. parse_options_header applies a backtracking custom regular expression to attacker-controlled Content-Type options, stalling the main event loop for minutes or longer. Exposure requires form-data parsing through python-multipart; affected FastAPI before 0.109.1 and Starlette before 0.36.2 services stop handling requests.
The record
- CVE
- CVE-2024-24762
- Published
- Feb 5, 2024
- Updated
- May 9, 2025
- Vendor
- Kludex
- Product
- python-multipart
- Classifications
- CWE-400, CWE-1333, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 5, 2024CVE publishedPublication date reported by the CVE source.
- May 9, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <0.0.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream Content-Type ReDoS proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo