7.5

CVE-2024-24762: encode starlette Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighAnalyzed
AliasesGHSA-2jv5-9r88-3w3pGHSA-qf9m-vfgh-m389PYSEC-2024-38
Published 05-02-2024Last modified 09-05-2025

Vulnerability summary

CVE-2024-24762 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in encode starlette. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 74.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.52%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 4

Timeline

  1. 05-02-2024
    PublishedVulnerability first disclosed.
  2. 09-05-2025
    Last modifiedVulnerability information updated.

Description

`python-multipart` is a streaming multipart parser for Python. When using form data, `python-multipart` uses a Regular Expression to parse the HTTP `Content-Type` header, including options. An attacker could send a custom-made `Content-Type` option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

1.52%

Chance of exploitation in the next 30 days

Percentile

74%

Versus all other CVEs

30-day change

+0.01 pp

From 1.51% on 19-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Python Multipart

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Opensuse2 products
  • python-fastapi&distro=openSUSE Tumbleweed< 0.138.0-2.1
  • python-python-multipart&distro=openSUSE Tumbleweed< 0.0.32-1.3
PyPI2 products
  • fastapi< 9d34ad0ee8a0dfbbcce06f76c2d5d851085024fc | < 0.109.1
  • python-multipart< 0.0.7
Chainguard1 product
  • reflex< 0.4.0-r0
Debian1 product
  • python-multipartAll versions (No fix recorded) | < 0.0.9-1
Encode1 product
Fastapiexpert1 product
Kludex1 product
Tiangolo1 product
Ubuntu1 product
  • python-multipart< 0.0.5-2ubuntu0.1~esm1
Wolfi1 product
  • reflex< 0.4.0-r0

10 vendors · 12 products

References

23 links
Show all 23 references