CVE-2024-53981
published high CVSS 3.1 · 7.5python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Kludex | — | python-multipart< 0.0.18 | Affected | Not stated | GitHub_M |
| kludex | — | python-multipart0 to < 0.0.18 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Ubuntu | jammy | python-multipart | Advisory build | 0.0.5-2ubuntu0.1~esm1 | USN-8027-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-python-multipartnoarch | Advisory build | 0.0.9-150600.3.3.1 | SUSE-SU-2024:4194-1 |
| Ubuntu | noble | python-multipart | Advisory build | 0.0.9-1ubuntu0.1~esm1 | USN-8027-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartaarch64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartppc64le | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multiparts390x | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-python-multipartx86_64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartaarch64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartppc64le | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multiparts390x | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-python-multipartx86_64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartaarch64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartppc64le | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multiparts390x | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-python-multipartx86_64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartaarch64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartppc64le | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multiparts390x | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-python-multipartx86_64 | Advisory build | 0.0.19-1.1 | OPENSUSE-SU-2024:14551-1 |
| Ubuntu | jammy | python3-multipart | Advisory build | 0.0.5-2ubuntu0.1~esm1 | USN-8027-1 |
| Ubuntu | noble | python3-multipart | Advisory build | 0.0.9-1ubuntu0.1~esm1 | USN-8027-1 |
Description
python-multipart is a streaming multipart parser for Python. When parsing form data, python-multipart skips line breaks (CR \r or LF \n) in front of the first boundary and any tailing bytes after the last boundary. This happens one byte at a time and emits a log event each time, which may cause excessive logging for certain inputs. An attacker could abuse this by sending a malicious request with lots of data before the first or after the last boundary, causing high CPU load and stalling the processing thread for a significant amount of time. In case of ASGI application, this could stall the event loop and prevent other requests from being processed, resulting in a denial of service (DoS). This vulnerability is fixed in 0.0.18.
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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Kludex | python-multipart | < 0.0.18 (affected) | GitHub_M · cna |
| kludex | python-multipart | 0 to < 0.0.18 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2GitHub_M · cna
python-multipart has a Denial of service (DoS) via deformation `multipart/form-data` boundary
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c82d11815223116bfd17fc9b0a4873d3fbed81e800be26a838584c235dfc9164
- Ingested
- 23 Sep 2026, 08:31:11 UTC
- Source record
- Official CVE record