HIGH · 7.5

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 attacke...

Vulnerability Description

`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.

CVSS Score

7.5

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH

Affected Products

VendorProductVersions
FastapiexpertPython-Multipart< 0.0.7
EncodeStarlette< 0.36.2
TiangoloFastapi< 0.109.1

Related Weaknesses (CWE)

References

FAQ

What is CVE-2024-24762?

CVE-2024-24762 is a vulnerability with a CVSS score of 7.5 (HIGH). `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 attacke...

How severe is CVE-2024-24762?

CVE-2024-24762 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2024-24762?

Check the references section above for vendor advisories and patch information. Affected products include: Fastapiexpert Python-Multipart, Encode Starlette, Tiangolo Fastapi.