CVE-2024-24762

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductFastapiexpert Python-multipart
PublishedFeb 5, 2024
First seenFeb 5, 2024

How to fix

Update
  • fastapiexpert python-multipart0.0.7 or later
  • python-multipart0.0.7 or later
  • fastapi0.109.1 or later

Affected products

ProductAffected versionsFixed in
fastapiexpert python-multipartv < 0.0.70.0.7
python-multipartPyPIv < 0.0.70.0.7
fastapiPyPIv < 0.109.10.109.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.