Allocation of Resources Without Limits or Throttling Affecting python313-starlette package, versions <0.41.3-160000.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.66% (51st 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-SLES1600-PYTHON313STARLETTE-17440148
  • published24 Jun 2026
  • disclosed17 Jun 2026

Introduced: 17 Jun 2026

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

How to fix?

Upgrade SLES:16.0.0 python313-starlette to version 0.41.3-160000.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python313-starlette package and not the python313-starlette package as distributed by SLES. See How to fix? for SLES:16.0.0 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