Skip to main content
VulnerabilityPublished Updated

CVE-2023-30798: Encode Starlette · Uncontrolled Resource Consumption

Affects Encode StarletteSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 0.25.0 soon.

Data as of 28 Oct 2026, 05:11 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.2% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.25.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Apr 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade Encode Starlette to 0.25.0.

Affected software

ProductAffectedFixed in
PyPIstarlettepkg:pypi/starletteOther threatsAffected
  • <0.25.0
Fixed in
  • 0.25.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade the Starlette framework to version 0.25.0 or later immediately to apply the official fix for this vulnerability.
  2. Implement strict server-side limits on multipart form data processing, including maximum number of parts, maximum size per part, and total request size, to prevent resource exhaustion.
  3. Employ web application firewalls (WAFs) or reverse proxies capable of detecting and blocking abnormal multipart/form-data requests with excessive parts or files.
  4. Monitor HTTP request patterns for spikes in multipart form submissions or unusual request sizes that could indicate exploitation attempts.
  5. Conduct regular dependency audits and vulnerability scans to ensure all components are up to date.
  6. In high-risk environments, consider rate limiting or CAPTCHA challenges on endpoints accepting multipart form data to reduce automated attack feasibility.
  7. Prepare incident response plans to quickly identify and mitigate DoS attacks targeting this vulnerability.
  8. Educate development and operations teams about secure handling of multipart data and resource management best practices.

Description

There MultipartParser usage in Encode's Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.

References

Community reviews

Loading reviews…