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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2024-02-0515:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.0 | < 0.0.7 | 0.0.7 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.109 | < 0.109.1 | 0.109.1 | OSV |
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.
- Kludex python-multipartother versions: not affected
package python-multiparthttps://github.com/Kludex/python-multipart
Affected- < 0.0.7fixed in 0.0.7affected
- tiangolo fastapiother versions: not affected
package fastapihttps://github.com/tiangolo/fastapi
Affected- < 0.109.1fixed in 0.109.1affected
- encode starletteother versions: not affected
package startlettehttps://github.com/encode/starlette
Affected- < 0.36.2fixed in 0.36.2affected
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
Fix
- Update Fastapiexpert python-multipart to 0.0.7
Advisories and patches
- github.comPatch
- github.comVendor Advisory
- github.comPatch
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-02-05
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- 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
- CGA-3f62-hgjw-8f5msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-j64c-jp8f-9595same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-0059same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2jv5-9r88-3w3psame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2024-38same flawPyPA Advisory Database · CC-BY-4.0
- PYSEC-2026-1850same flawPyPA Advisory Database · CC-BY-4.0
- openSUSE-SU-2026:11710-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12032-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-8027-1advisory covering several CVEsUbuntu
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?
Is CVE-2024-24762 actively exploited?
What is the CVSS score for CVE-2024-24762?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2jv5-9r88-3w3p
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0