CVE-2023-30798: Encode Starlette · Uncontrolled Resource Consumption
Affects Encode StarletteSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 0.25.0 soon.
Data as of 28 Oct 2026, 05:11 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
PyPIstarlettepkg:pypi/starletteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade the Starlette framework to version 0.25.0 or later immediately to apply the official fix for this vulnerability.
- 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.
- Employ web application firewalls (WAFs) or reverse proxies capable of detecting and blocking abnormal multipart/form-data requests with excessive parts or files.
- Monitor HTTP request patterns for spikes in multipart form submissions or unusual request sizes that could indicate exploitation attempts.
- Conduct regular dependency audits and vulnerability scans to ensure all components are up to date.
- In high-risk environments, consider rate limiting or CAPTCHA challenges on endpoints accepting multipart form data to reduce automated attack feasibility.
- Prepare incident response plans to quickly identify and mitigate DoS attacks targeting this vulnerability.
- 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.