CVE-2024-24762: python-multipart - Regular Expression Denial of Service
- Cve: CVE-2024-24762
- Name: python-multipart - Regular Expression Denial of Service
- 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: Attackers can cause high CPU usage leading to server slowdown or denial of service, affecting availability.
- Remediation: Update to version 0.0.7 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01523
- Epss percentile: 0.75154
- Assignee: [email protected]
- Published at: 2024-02-05T15:15:09Z
- Age in days: 1023
- Modified at: 2026-06-17T07:14:48Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 3
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-24762
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p | nvd | 2024-02-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fastapiexpert:python-multipart | < 0.0.7 | no | nvd | /v1/products/fastapiexpert/python-multipart |
Projects
Same in every row:
- Indexed: yes
| Repository | Link kinds | Url |
|---|---|---|
| tiangolo/fastapi | commit, releases | /v1/repositories/tiangolo/fastapi |
| encode/starlette | commit | /v1/repositories/encode/starlette |
| kludex/python-multipart | commit, package, security_advisory | /v1/repositories/kludex/python-multipart |
Index
- Repositories: 1759
- Repositories high signal: 1068
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-02-05
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts