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
Upstream
Downstream
Related
Published
2024-12-02T16:15:00Z
Modified
2026-02-12T14:28:57.220016Z
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
  • Ubuntu - medium
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:Pro:22.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.5-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.5-2ubuntu0.1~esm1

Affected versions

0.*
0.0.5-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python3-multipart",
            "binary_version": "0.0.5-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53981.json"

Ubuntu:Pro:24.04:LTS / python-multipart

Package

Name
python-multipart
Purl
pkg:deb/ubuntu/python-multipart@0.0.9-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.9-1ubuntu0.1~esm1

Affected versions

0.*
0.0.5-3
0.0.6-1
0.0.9-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python3-multipart",
            "binary_version": "0.0.9-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-53981.json"