Allocation of Resources Without Limits or Throttling Affecting starlette package, versions <0.26.1-1+deb12u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.61% (48th 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 IDSNYK-ECHOLATEST-STARLETTE-18507926
  • published2 Aug 2026
  • disclosed21 Jul 2025

Introduced: 21 Jul 2025

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

How to fix?

Upgrade Echo:latest starlette to version 0.26.1-1+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream starlette package and not the starlette package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit, designed for building async web services in Python. In versions 0.47.1 and below, when parsing a multi-part form with large files (greater than the default max spool size) starlette will block the main thread to roll the file over to disk. This blocks the event thread which means the application can't accept new connections. The UploadFile code has a minor bug where instead of just checking for self._in_memory, the logic should also check if the additional bytes will cause a rollover. The vulnerability is fixed in version 0.47.2.

CVSS Base Scores

version 3.1