CVE-2024-47874
published high CVSS 4.0 · 8.7Starlette Denial of service (DoS) via multipart/form-data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| encode | — | starlette< 0.40.0 | Affected | Not stated | GitHub_M |
| encode | — | starlette0 to < 0.40.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-starlettenoarch | Advisory build | 0.35.1-150600.3.3.1 | SUSE-SU-2024:3719-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-starletteaarch64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-starletteppc64le | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-starlettes390x | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-starlettex86_64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-starletteaarch64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-starletteppc64le | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-starlettes390x | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-starlettex86_64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-starletteaarch64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-starletteppc64le | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-starlettes390x | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-starlettex86_64 | Advisory build | 0.41.0-1.1 | OPENSUSE-SU-2024:14417-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-starletteaarch64 | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-starletteppc64le | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-starlettes390x | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-starlettex86_64 | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-starletteaarch64 | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-starletteppc64le | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-starlettes390x | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-starlettex86_64 | Advisory build | 1.6.0-1.1 | OPENSUSE-SU-2026:11626-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| encode | starlette | < 0.40.0 (affected) | GitHub_M · cna |
| encode | starlette | 0 to < 0.40.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
2Provider assertions
2GitHub_M · cna
Starlette Denial of service (DoS) via multipart/form-data
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 125fc7bbc302a707d2348862d677b63a9cb9d2ac1fc2346e8aca4463f530743d
- Ingested
- 23 Sep 2026, 08:28:35 UTC
- Source record
- Official CVE record