cve.bz

CVE-2024-53981 kludex python-multipart

7.5 highEPSS 0.6%Fix available

High (7.5) in kludex python-multipart. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in python-multipart 0.0.18.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 51st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-12-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-53981 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53981?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53981?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53981 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Kludex python-multipart< 0.0.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-59g5-xgcq-4qw3PyPIpython-multipart<0.0.180.0.18
PYSEC-2026-1851PyPIpython-multipart<0.0.180.0.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-multipartno fix listedDEBIAN-CVE-2024-53981
Debian13, 14python-multipart0.0.20-1DEBIAN-CVE-2024-53981
UbuntuPro:22.04:LTSpython-multipart0.0.5-2ubuntu0.1~esm1UBUNTU-CVE-2024-53981 USN-8027-1
UbuntuPro:24.04:LTSpython-multipart0.0.9-1ubuntu0.1~esm1UBUNTU-CVE-2024-53981 USN-8027-1
openSUSELeap 15.6python-python-multipart0.0.9-150600.3.3.1SUSE-SU-2024:4194-1
openSUSETumbleweedpython-python-multipart0.0.19-1.1openSUSE-SU-2024:14551-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as IMPORTANT severity due to its potential to allow excessive logging and high CPU usage where an attacker could exploit it by sending malicious multipart requests, stalling the processing thread or event loop in ASGI applications, and causing denial of service by disrupting normal request handling.

ProductPackageStateAdvisory
Red Hat Enterprise Linux AI (RHEL AI)rhelai1/bootc-nvidia-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-53981.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON