CVE-2023-25578 json
Starlite DoS vulnerability when parsing multipart request body
published 3y ago modified 4mo ago also GHSA-p24m-863f-fm6q , PYSEC-2023-49 , EUVD-2023-0246
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
Starlite is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 1.5.2, the request body parsing in `starlite` allows a potentially unauthenticated attacker to consume a large amount of CPU time and RAM. The multipart body parser processes an unlimited number of file parts and an unlimited number of field parts. This is a remote, potentially unauthenticated Denial of Service vulnerability. This vulnerability affects applications with a request handler that accepts a `Body(media_type=RequestEncodingType.MULTI_PART)`. The large amount of CPU time required for processing requests can block all available worker processes and significantly delay or slow down the processing of legitimate user requests. The large amount of RAM accumulated while processing requests can lead to Out-Of-Memory kills. Complete DoS is achievable by sending many concurrent multipart requests in a loop. Version 1.51.2 contains a patch for this issue.
Patch / fix
- pypi starlite 1.51.2
- starliteproject starlite 1.51.2
Is CVE-2023-25578 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 FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.00% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- github.com https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q referenced PoC, tagged "exploit" by a source, unverified
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 |
| NVD | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | starlite | <1.51.2 |
1.51.2 |
Affected products
- starlite-api starlite
Classification
References
-
github.com
/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
web, patch
-
github.com
/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q
web, exploit, vendor-advisory, advisory
-
github.com
/starlite-api/starlite/releases/tag/v1.51.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-25578
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/starlite/PYSEC-2023-49.yaml
web
-
github.com
/starlite-api/starlite
package
Sources
- CVE List CVE-2023-25578
- GitHub Advisory GHSA-p24m-863f-fm6q
- NVD CVE-2023-25578
- OSV PYSEC-2023-49
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.