CVE-2023-30798Encode Starlette
High 7.5 No auth needed
Follow: this CVE · Encode · Encode Starlette We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Apr 21, 2023
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for Starlette.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | starlette |
< 0.25.0 |
0.25.0 |
pip install "starlette>=0.25.0" |
| PyPI | starlette |
< 0.25.0 |
0.25.0 |
pip install "starlette>=0.25.0" |
Per OSV / GitHub Advisories (GHSA-74m5-2c7w-9w3x, PYSEC-2023-48). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| encode | starlette | < 0.25.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Mitigation Vendor Advisory
- vulncheck.com Patch Third Party Advisory