Patchwire CVEs, their patch status, and feeds to follow them

CVE-2024-47874

Fixed in a distro release EPSS <1%CVSS 8.7

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.

Published 2024-10-15 · CVE record · OSV

Products: Encode Starlette

Fixed upstream

EcosystemPackageFixed in
PyPIstarlette0.40.0

Distro releases

ReleasePackageFixed in
Chainguardkserve0
Chainguardkserve-agent0
Chainguardkserve-agent-compat0
Chainguardkserve-manager0
Chainguardkserve-manager-compat0
Chainguardkserve-qpext0
Chainguardkserve-qpext-compat0
Chainguardkserve-router0
Chainguardkserve-router-compat0
Chainguardkserve-storage-controller0
Chainguardreflex0.6.4-r0
Debian 12starlette0.26.1-1+deb12u1
Debian 13starlette0.41.0-1
Debian 14starlette0.41.0-1
Ubuntu 22.04 LTSstarletteno fix
Ubuntu 24.04 LTSstarletteno fix
Wolfikserve0
Wolfikserve-agent0
Wolfikserve-agent-compat0
Wolfikserve-manager0
Wolfikserve-manager-compat0
Wolfikserve-qpext0
Wolfikserve-qpext-compat0
Wolfikserve-router0
Wolfikserve-router-compat0
Wolfikserve-storage-controller0
Wolfireflex0.6.4-r0
openSUSE Leap 15.6python-starlette0.35.1-150600.3.3.1
openSUSE Tumbleweedpython-starlette0.41.0-1.1
openSUSE Tumbleweedpython-starlette1.6.0-1.1