PT-2025-30341 · Starlette+2 · Starlette+2

Honakerm

·

Published

2025-07-21

·

Updated

2026-02-10

·

CVE-2025-54121

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Starlette versions 0.47.1 and below
Description Starlette is a lightweight ASGI framework/toolkit for building async web services in Python. When parsing multi-part forms with large files exceeding the default maximum spool size, Starlette blocks the main thread to transfer the file to disk. This blockage impacts the event thread, preventing the application from accepting new connections. The issue stems from a flaw in the UploadFile code where the logic fails to account for potential rollovers caused by additional bytes.
Recommendations Update to Starlette version 0.47.2 or later.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Weakness Enumeration

Related Identifiers

BDU:2025-10819
CVE-2025-54121
GHSA-2C2J-9GV5-CJ73
OPENSUSE-SU-2025:15381-1
SUSE-SU-2025:02544-1

Affected Products

Debian
Red Os
Starlette