Vulnerability Details : CVE-2023-25578
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.
Vulnerability category: Denial of service
Products affected by CVE-2023-25578
- cpe:2.3:a:starliteproject:starlite:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-25578
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-25578
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-25578
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2023-25578
-
https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
Merge pull request from GHSA-p24m-863f-fm6q · starlite-api/starlite@9674fe8 · GitHubPatch
-
https://github.com/starlite-api/starlite/releases/tag/v1.51.2
Release v1.51.2 · starlite-api/starlite · GitHubRelease Notes
-
https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q
DoS vulnerability when parsing multipart request body · Advisory · starlite-api/starlite · GitHubExploit;Vendor Advisory
Jump to