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.1Fix Suggestion:
Update to version 0.109.1python-multipart (PYTHON):
Affected version(s) >=0.0.1 <0.0.7Fix Suggestion:
Update to version 0.0.7Related Resources (13)
Do you need more information?
Contact UsCVSS 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)
EPSS
Base Score:
2.5