8.7

CVE-2024-47874: encode starlette

CVSS: 8.7v4.0HighDeferred
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 50.3% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known 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

50%

Versus all other CVEs

30-day change

0.00 pp

From 0.65% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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