Allocation of Resources Without Limits or Throttling Affecting starlette package, versions [,0.47.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.06% (19th 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-STARLETTE-10874054
  • published22 Jul 2025
  • disclosed21 Jul 2025
  • creditMichael Honaker

Introduced: 21 Jul 2025

NewCVE-2025-54121  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade starlette to version 0.47.2 or higher.

Overview

starlette is a The little ASGI library that shines.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the UploadFile.write method when handling multipart forms containing files larger than the default spool_max_size. An attacker can cause the application to block the main event thread by submitting a multipart form with a large file, preventing the application from accepting new connections.

CVSS Base Scores

version 4.0
version 3.1