8.7

CVE-2024-47874: Starlette Denial of service (DoS) via multipart/form-data

Deferred
AliasesGHSA-f96h-pmfr-66vwPYSEC-2026-1943UBUNTU-CVE-2024-47874
Published 15-10-2024Last modified 21-11-2024

Vulnerability summary

CVE-2024-47874 is a high (CVSS 8.7) vulnerability in encode starlette. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Duplicates 1 · Related 1

Timeline

  1. 15-10-2024
    PublishedVulnerability first disclosed.
  2. 21-11-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 7 sources · 2 versions

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.65% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard11 products
  • kserveAll versions (No fix recorded)
  • kserve-agentAll versions (No fix recorded)
  • kserve-agent-compatAll versions (No fix recorded)
  • kserve-managerAll versions (No fix recorded)
  • kserve-manager-compatAll versions (No fix recorded)
Wolfi11 products
  • kserveAll versions (No fix recorded)
  • kserve-agentAll versions (No fix recorded)
  • kserve-agent-compatAll versions (No fix recorded)
  • kserve-managerAll versions (No fix recorded)
  • kserve-manager-compatAll versions (No fix recorded)
Opensuse2 products
  • python-starlette&distro=openSUSE Leap 15.6< 0.35.1-150600.3.3.1
  • python-starlette&distro=openSUSE Tumbleweed< 0.41.0-1.1 | < 1.6.0-1.1
Debian1 product
  • starlette< 0.26.1-1+deb12u1 | < 0.41.0-1
Encode1 product
PyPI1 product
  • starlette< 0.40.0
Ubuntu1 product
  • starletteAll versions (No fix recorded)

7 vendors · 28 products

References

14 links
Show all 14 references