Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-24762
February 05, 2024
"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.
Affected Packages
fastapi (PYTHON):
Affected version(s) >=0.1.0 <0.109.1
Fix Suggestion:
Update to version 0.109.1
python-multipart (PYTHON):
Affected version(s) >=0.0.1 <0.0.7
Fix Suggestion:
Update to version 0.0.7
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity
Uncontrolled Resource Consumption
EPSS
Base Score:
2.5