Advisory

DEBIAN-CVE-2024-53981

Also known as: CVE-2024-53981

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2024-12-02 16:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

python-multipart

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

python-multipart

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.0.20-1 (ecosystem)

Fixed versions

0.0.20-1

Fix

  • Fixed version 0.0.20-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-multipart

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.0.20-1 (ecosystem)

Fixed versions

0.0.20-1

Fix

  • Fixed version 0.0.20-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences