CVE-2024-24762
published high CVSS 3.1 · 7.5python-multipart vulnerable to content-type header Regular expression Denial of Service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kludex | — | python-multipart0 to < 0.0.7 · Other versions: unaffected | Affected | Not stated | GitHub_M |
| tiangolo | — | fastapi0 to < 0.109.1 · Other versions: unaffected | Affected | Not stated | GitHub_M |
| encode | — | startlettestarlette · 0 to < 0.36.2 · Other versions: unaffected | Affected | Not stated | GitHub_M |
| Ubuntu | jammy | python-multipart | Advisory build | 0.0.5-2ubuntu0.1~esm1 | USN-8027-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-fastapiaarch64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-fastapippc64le | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-fastapis390x | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-fastapix86_64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
Show 45 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartaarch64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartppc64le | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multiparts390x | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartx86_64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-fastapiaarch64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-fastapippc64le | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-fastapis390x | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-fastapix86_64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartaarch64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartppc64le | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multiparts390x | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartx86_64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-fastapiaarch64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-fastapippc64le | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-fastapis390x | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-fastapix86_64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartaarch64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartppc64le | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multiparts390x | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartx86_64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-fastapiaarch64 | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-fastapippc64le | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-fastapis390x | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-fastapix86_64 | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartaarch64 | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartppc64le | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multiparts390x | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartx86_64 | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-fastapiaarch64 | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-fastapippc64le | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-fastapis390x | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-fastapix86_64 | Advisory build | 0.138.0-2.1 | OPENSUSE-SU-2026:11710-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartaarch64 | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartppc64le | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multiparts390x | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-python-multipartx86_64 | Advisory build | 0.0.32-1.3 | OPENSUSE-SU-2026:12032-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-fastapiaarch64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-fastapippc64le | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-fastapis390x | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-fastapix86_64 | Advisory build | 0.109.1-1.1 | OPENSUSE-SU-2024:13684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-python-multipartaarch64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-python-multipartppc64le | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-python-multiparts390x | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-python-multipartx86_64 | Advisory build | 0.0.7-1.1 | OPENSUSE-SU-2024:13664-1 |
| Ubuntu | jammy | python3-multipart | Advisory build | 0.0.5-2ubuntu0.1~esm1 | USN-8027-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kludex | python-multipart | 0 to < 0.0.7 (affected · affected)Default: unaffected | GitHub_M · cna |
| tiangolo | fastapi | 0 to < 0.109.1 (affected · affected)Default: unaffected | GitHub_M · cna |
| encode | starlette | 0 to < 0.36.2 (affected · affected)Default: unaffected | GitHub_M · cna |
Weaknesses
1- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
8- https://github.com/Kludex/python-multipart/commit/20f0ef6b4e4caf7d69a667c54dff57fe467109a4
- https://github.com/Kludex/python-multipart/security/advisories/GHSA-2jv5-9r88-3w3p
- https://github.com/andrew-d/python-multipart/blob/d3d16dae4b061c34fe9d3c9081d9800c49fc1f7a/multipart/multipart.py#L72-L74
- https://github.com/encode/starlette/commit/13e5c26a27f4903924624736abd6131b2da80cc5
- https://github.com/encode/starlette/security/advisories/GHSA-93gm-qmq6-w238
- https://github.com/tiangolo/fastapi/commit/9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc
- https://github.com/tiangolo/fastapi/releases/tag/0.109.1
- https://github.com/tiangolo/fastapi/security/advisories/GHSA-qf9m-vfgh-m389
Provider assertions
3GitHub_M · cna
python-multipart vulnerable to content-type header Regular expression Denial of Service
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 43d7abc1bd8ba60111abdd8bd045396a002dbc7845a3ee57aebc5d50c3401df2
- Ingested
- 23 Sep 2026, 08:19:54 UTC
- Source record
- Official CVE record