{"id":"CVE-2023-25578","published":"2023-02-15T14:58:31Z","modified":"2025-03-10T21:10:58Z","title":"Starlite DoS vulnerability when parsing multipart request body","vendor":"starlite-api","product":"starlite","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01284,"percentile":0.70162,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83","tags":["x_refsource_MISC"]},{"url":"https://github.com/starlite-api/starlite/releases/tag/v1.51.2","tags":["x_refsource_MISC"]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":14.03},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"starlite-api","affectedVersions":[{"vendor":"starlite-api","product":"starlite","versions":["< 1.51.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T21:01:52.089906Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"starlite","vulnerableRanges":["<1.51.2"],"patched":["1.51.2"],"from":["GHSA-p24m-863f-fm6q","PYSEC-2023-49"],"provenance":"source"}],"summary":{"text":"The Starlite ASGI framework (product \"starlite\", vendor starlite-api) has a flaw in its multipart request body parser, which processes an unlimited number of file parts and field parts, letting it consume unbounded CPU time and RAM. An unauthenticated remote attacker can exploit this by sending many concurrent multipart requests to any request handler that accepts a multipart body, which can block worker processes, slow legitimate traffic, or trigger out-of-memory kills, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:38Z"},"euvd":{"id":"EUVD-2023-0246","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-starlite-api-starlite-cve-2023-25578","children":[{"from":"CVE-2023-25578","to":"CVE-2024-52581","relation":"variant","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"variant","quote":"This may be a regression, as a variation of this issue was already reported in CVE-2023-25578.","from":"CVE.org","in":"CVE-2024-52581"},{"kind":"osv-related","provenance":"source","id":"GHSA-p24m-863f-fm6q","via":"related"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2024-178","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-gjcc-jvgw-wvwj","via":"reference","url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-p24m-863f-fm6q"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2024-178","via":"reference","url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-p24m-863f-fm6q"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-1944","via":"reference","url":"https://github.com/litestar-org/litestar/security/advisories/GHSA-p24m-863f-fm6q"}]}],"packageHistory":[{"cve":"CVE-2023-25578","published":"2023-02-15","fixed":"1.51.2","kev":false},{"cve":"CVE-2024-32982","published":"2024-05-06","fixed":"1.51.16","kev":false,"link":{"from":"CVE-2023-25578","to":"CVE-2024-32982","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:starlite","fromFixed":"1.51.2","toFixed":"1.51.16","daysApart":446}]}}],"package":"PyPI:starlite"}}