# CVE-2023-25578: Starlite DoS vulnerability when parsing multipart request body

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-15T14:58:31.829Z
- Modified: 2026-06-17T05:41:31.980Z
- Also known as: GHSA-p24m-863f-fm6q, PYSEC-2023-49
- Related: CVE-2024-52581, PYSEC-2024-178
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- starlite-api starlite: < 1.51.2
- starlite (PyPI): before 1.51.2; before 9674fe803628f986c03fe60769048cbc55b5bf83
- starliteproject starlite: before 1.51.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q> (exploit, advisory, vendor-advisory, web)
- <https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83> (fix, patch, web)
- <https://github.com/starlite-api/starlite/releases/tag/v1.51.2> (release-notes, web)
- <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)

## Sources

- CVE List: [CVE-2023-25578](https://www.cve.org/CVERecord?id=CVE-2023-25578), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-p24m-863f-fm6q](https://github.com/advisories/GHSA-p24m-863f-fm6q), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-25578](https://nvd.nist.gov/vuln/detail/CVE-2023-25578), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-49](https://osv.dev/vulnerability/PYSEC-2023-49), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-25578 · Whole record: https://cve.day/CVE-2023-25578.json · Rebuilt by cve.day 2026-11-25T22:58:22.032Z
