CVE-2023-25578
HIGH 7.5CVSS 3.1Denial of service vulnerability when parsing multipart request body
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.
- Published
- 15 Feb 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-p24m-863f-fm6qPYSEC-2023-49
- Sources
- NVDJSONOSV GHSA-p24m-863f-fm6qJSONOSV PYSEC-2023-49JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | starliteproject | starlitecpe:2.3:a:starliteproject:starlite:*:*:*:*:*:*:*:* |
< 1.51.2 | 1.51.2 |
| OSV | PyPI | starlite | < 1.51.2 | 1.51.2 |
References
- https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83 · Patch, WEB, FIX
- https://github.com/starlite-api/starlite/releases/tag/v1.51.2 · Release Notes, WEB
- https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-25578 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/starlite/PYSEC-2023-49.yaml · WEB
- https://github.com/starlite-api/starlite · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Feb 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Feb 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Feb 2023)