Allocation of Resources Without Limits or Throttling Affecting python-multipart package, versions [,0.0.18)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTHONMULTIPART-8446508
  • published3 Dec 2024
  • disclosed2 Dec 2024
  • creditStartr4ck, mnqazi

Introduced: 2 Dec 2024

CVE-2024-53981  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade python-multipart to version 0.0.18 or higher.

Overview

python-multipart is an A streaming multipart parser for Python

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the multipart/form-data, when line breaks: CR \r or LF \n in front of the first boundary and any tailing bytes after the last boundary are skipped. An attacker can cause excessive logging and high CPU load, stalling the processing thread by sending a malicious request with lots of data.

References

CVSS Scores

version 4.0
version 3.1