Skip to main content
Public proof of conceptFix available

CVE-2024-24762

A public proof of concept exists; no exploitation attested.

  • Published2024-02-05
  • Fixed in0.0.7
  • WeaknessCWE-1333 · CWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-02-0515:15CVE publishedNVD

Versions per branch

NVD · OSV
Fastapiexpert python-multipartversion to verify
BranchAffectedFixed in
0.0< 0.0.70.0.7
fastapi
BranchAffectedFixed in
0.109< 0.109.10.109.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA3 products

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-02-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • fastapiTuxCare:PyPIfrom 0.104.1 · fixed in 0.104.1.post1+tuxcare
  • fastapiTuxCare:PyPIfrom 0.63.0 · fixed in 0.63.0.post2+tuxcare
  • python-fastapiopenSUSE:Tumbleweedall versions · fixed in 0.138.0-2.1
  • python-multipartUbuntu:Pro:24.04:LTSall versions · fixed in 0.0.9-1ubuntu0.1~esm1
  • python-multipartUbuntu:Pro:22.04:LTSall versions · fixed in 0.0.5-2ubuntu0.1~esm1
  • python-multipartTuxCare:PyPIfrom 0.0.6.post0 · fixed in 0.0.6.post1+tuxcare
  • python-multipartRoot:PyPIall versions · fixed in 0.0.5+aikido.1
  • python-multipartDebian:14all versions · fixed in 0.0.9-1

6 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-24762 Red Hat Product Security

    python-fastapi: regular expression denial of service vulnerability

Full record on NVD

Fix

  1. Update Fastapiexpert python-multipart to 0.0.7

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-02-05
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • CNAweakness (CWE)CWE-400known since 2026-10-23
  • NVDweakness (CWE)CWE-1333read 2026-10-23
  • FIRST EPSSEPSS score1.5 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2024-02-12

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2024-02-05
Last modified
2026-06-17
NVD status
Analyzed
GitHub advisory
GHSA-2jv5-9r88-3w3p

Frequently asked questions

What is 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 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.

Is CVE-2024-24762 actively exploited?

A proof-of-concept exploit exists for CVE-2024-24762, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-24762?

CVE-2024-24762 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running python-multipart? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record