What’s Vulnerable › Vulnerabilities
CVE-2023-30798: MultipartParser DOS with too many fields or files in Starlette Framework
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-04-21 · updated 2026-07-15
- Weakness: CWE-400
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.
Affected products
- Kludex starlette: before 0.25.0 — fixed in 0.25.0
How to fix
Upgrade to a fixed version: Kludex starlette 0.25.0. Check the vendor advisory for mitigations.
References
- https://github.com/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa
- https://github.com/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x
- https://vulncheck.com/advisories/starlette-multipartparser-dos
- https://github.com/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa
- https://github.com/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x
- https://vulncheck.com/advisories/starlette-multipartparser-dos
Get alerted when CVE-2023-30798 or the next vulnerability affects your stack