{"schemaVersion":3,"id":"CVE-2024-53981","aliases":["GHSA-59g5-xgcq-4qw3","PYSEC-2026-1851","UBUNTU-CVE-2024-53981","DEBIAN-CVE-2024-53981","CGA-379p-6v7f-p4jp","CGA-v7pm-262m-hvv2","SUSE-SU-2024:4194-1","openSUSE-SU-2024:14551-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-12-02T15:57:50.232Z","modified":"2024-12-02T19:59:14.830Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00635,"percentile":0.49495,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.0050000000000000565,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0064},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00635,"percentile":0.49495}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0064,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00635,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00635,"percentile":0.49495}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"reflex","name":"reflex","label":"reflex","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/reflex","purlType":"apk","versions":[{"text":"< 0.6.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.7-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"reflex","name":"reflex","label":"reflex","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/reflex","purlType":"apk","versions":[{"text":"< 0.6.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.6.7-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-multipart","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 0.0.20-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 0.0.20-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-multipart","purlType":"deb","versions":[{"text":"< 0.0.5-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.0.9-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.5-2ubuntu0.1~esm1 | < 0.0.9-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"kludex","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.18","eol":null,"hubHref":"/vendor/kludex/python-multipart"},{"vendor":"PyPI","product":"python-multipart","name":"python-multipart","label":"python-multipart","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/python-multipart","purlType":"pypi","versions":[{"text":"< 0.0.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.18","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-python-multipart&distro=openSUSE Leap 15.6","name":"python-python-multipart","label":"python-python-multipart&distro=openSUSE Leap 15.6","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-python-multipart&distro=openSUSE Leap 15.6","purlType":"rpm","versions":[{"text":"< 0.0.9-150600.3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.9-150600.3.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-python-multipart&distro=openSUSE Tumbleweed","name":"python-python-multipart","label":"python-python-multipart&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-python-multipart&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 0.0.19-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.19-1.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3","label":"github.com/Kludex/python-multipart/security/advisories/GHSA-59g5-xgcq-4qw3","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory"]},{"url":"https://github.com/Kludex/python-multipart/commit/c4fe4d3cebc08c660e57dd709af1ffa7059b3177","label":"github.com/Kludex/python-multipart/commit/c4fe4d3cebc08c660e57dd709af1ffa7059b3177","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53981","label":"nvd.nist.gov/vuln/detail/CVE-2024-53981","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Kludex/python-multipart","label":"github.com/Kludex/python-multipart","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/python-multipart","label":"pypi.org/project/python-multipart","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-59g5-xgcq-4qw3","label":"github.com/advisories/GHSA-59g5-xgcq-4qw3","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-53981","label":"ubuntu.com/security/CVE-2024-53981","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-53981","label":"www.cve.org/CVERecord?id=CVE-2024-53981","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8027-1","label":"ubuntu.com/security/notices/USN-8027-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-53981","label":"security-tracker.debian.org/tracker/CVE-2024-53981","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53981.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53981.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2024/suse-su-20244194-1/","label":"www.suse.com/support/update/announcement/2024/suse-su-20244194-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1234115","label":"bugzilla.suse.com/1234115","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2024-53981","label":"www.suse.com/security/cve/CVE-2024-53981","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["USN-8027-1"],"duplicates":["CVE-2024-7999","CVE-2024-9840"],"related":["CGA-6M66-CWF6-W8GQ","CGA-H6HH-G95H-W3FR","USN-8027-1"]},"timeline":[{"kind":"published","date":"2024-12-02T15:57:50.232Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-02T19:59:14.830Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:29:13.625Z","stale":false,"partial":false}}