VDB

CVE-2024-24762

CVE-2024-24762 PUBLISHED CVSS 7.5 HIGH

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

Reported by github_m · Published February 5, 2024

python-multipart is fixed in 0.0.7 (GitHub Packages)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python-multipartGitHub Packages0.0.7
fastapiPyPI9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc, 0.109.1, 0.109.0
python-multipartPyPI0.0.7
starlettePyPI0.36.1
startletteGitHub Packages0.36.2
fastapiGitHub Packages0.109.1
reflexWolfi0.4.0-r0
reflexChainguard0.4.0-r0
python-multipartfastapiexpert0.0.7

Risk scores

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

Affected products

VendorProductVersions
Kludexpython-multipart0
tiangolofastapi0
encodestarlette0
Kludexpython-multipart0
PyPIfastapi0
PyPIstarlette0
fastapiexpertpython-multipart
wolfireflex0
chainguardreflex0
encodestarlette0
tiangolofastapi0
PyPIpython-multipart0

Timeline

  • Feb 5, 2024 CVE Published
  • Feb 8, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Jan 16, 2026 Security Advisory
  • Feb 4, 2026 CVE Rejected
  • Feb 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-24762
vulnetix vdb fixes CVE-2024-24762

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-24762/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›