CVE-2024-24762 - CVE House
Back to Database
Status published High CVE-2024-24762

python-multipart vulnerable to content-type header Regular expression Denial of Service

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-24762

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

python-multipart, fastapi, starlette
Vulnerable Versions:
0

Timeline

Official Publish: February 5th, 2024
Last Modified: May 9th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)