CVE-2024-53981: kludex python-multipart
Vulnerability summary
CVE-2024-53981 is a high (CVSS 7.5) vulnerability in kludex python-multipart. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 49.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Duplicates 2 · Related 3Timeline
- 02-12-2024PublishedVulnerability first disclosed.
- 02-12-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
-0.01 pp
From 0.64% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Opensuse2 products
- python-python-multipart&distro=openSUSE Leap 15.6< 0.0.9-150600.3.3.1
- python-python-multipart&distro=openSUSE Tumbleweed< 0.0.19-1.1
Chainguard1 product
- reflex< 0.6.7-r0
Debian1 product
- python-multipartAll versions (No fix recorded) | < 0.0.20-1
Kludex1 product
- python-multipart< 0.0.18
PyPI1 product
- python-multipart< 0.0.18
Ubuntu1 product
- python-multipart< 0.0.5-2ubuntu0.1~esm1 | < 0.0.9-1ubuntu0.1~esm1
Wolfi1 product
- reflex< 0.6.7-r0
7 vendors · 8 products
References
14 links- github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3X Refsource CONFIRMWEBREPORTAdvisory
- github.com/Kludex/python-multipart/commit/c4fe4d3cebc08c660e57dd709af1ffa7059b3177X Refsource MISCWEBREPORTFIX