CVE-2023-30798 json
MultipartParser DOS with too many fields or files in Starlette Framework
published 3y ago modified 7d ago also EUVD-2023-0244 , GHSA-74m5-2c7w-9w3x , PYSEC-2023-48
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi starlette 0.25.0
- Encode Starlette 0.25.0
- starlette Debian 14, Debian 13, Debian 12 0.25.0-1
debian advisories DEBIAN-CVE-2023-30798
Is CVE-2023-30798 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-30798 updated cvss 5.3
python-starlette: excessive memory usage
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | starlette | <0.25.0 |
0.25.0 |
Affected products
- Encode Starlette
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/encode/starlette/commit/8c74c2c8dba7030154f8af18e016136bea1938fa
patch, web
-
vulncheck.com
/advisories/starlette-multipartparser-dos
third-party-advisory, web, patch, advisory
-
github.com
/encode/starlette/security/advisories/GHSA-74m5-2c7w-9w3x
vendor-advisory, web, mitigation, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-30798
advisory
-
github.com
/encode/starlette
package
-
github.com
/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2023-48.yaml
web
-
github.com
/Kludex/starlette/security/advisories/GHSA-74m5-2c7w-9w3x
advisory
Sources
- CVE List CVE-2023-30798
- GitHub Advisory GHSA-74m5-2c7w-9w3x
- NVD CVE-2023-30798
- OSV PYSEC-2023-48
- Maintainer advisory GHSA-74m5-2c7w-9w3x
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of Kludex/starlette published their own advisory on GitHub. Reviewed sources take precedence over it.