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.
Published:Feb 5, 2024
Last Modified:May 9, 2025
EPS:Feb 5, 2024
EPSS Score:0.01802
CVSS Score:7.5
Affected Products
Vendor
Product
Action
Vendor
Encode
Product
Starlette
Encode
Starlette
Vendor
Fastapiexpert
Product
Python-multipart
Fastapiexpert
Python-multipart
Vendor
Tiangolo
Product
Fastapi
Tiangolo
Fastapi
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
