UBUNTU-CVE-2024-53981

Source
https://ubuntu.com/security/CVE-2024-53981
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53981.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-53981
Related
Published
2024-12-02T16:15:00Z
Modified
2025-06-02T17:31:20Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.5-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0.5-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.9-1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0.9-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.9-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0.5-3
0.0.6-1
0.0.9-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.20-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0.9-1
0.0.17-1
0.0.17-5
0.0.20-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}