CVE-2024-47874

starlette: Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit

CVE-2024-47874 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2024-47874, released October 15, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0065
51st percentile

Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0, Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause Starlette to both slow down significantly due to excessive memory allocations and copy operations, and also consume more and more memory until the server starts swapping and grinds to a halt, or the OS terminates the server process with an OOM error. Uploading multiple such requests in parallel may be enough to render a service practically unusable, even if reasonable request size limits are enforced by a reverse proxy in front of Starlette. This Denial of service (DoS) vulnerability affects all applications built with Starlette (or FastAPI) accepting form requests. Verison 0.40.0 fixes this issue.

Where it's fixed

ProductFixed inFixReleased
Linux
python-starlette · opensuse-leap 15.6 0.35.1-150600.3.3.1 SUSE-SU-2024:3719-1 Oct 18, 2024
starlette · Debian 12.15 (bookworm) 0.26.1-1+deb12u1 DEBIAN-CVE-2024-47874 Oct 15, 2024
starlette · Debian 13.5 (trixie) 0.41.0-1 DEBIAN-CVE-2024-47874 Oct 15, 2024
starlette · Debian 14 0.41.0-1 DEBIAN-CVE-2024-47874 Oct 15, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.