CVE-2023-25578 – starlite
Package
Manager: pip
Name: starlite
Vulnerable Version: >=0 <1.51.2
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.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
EPSS: 0.00633 pctl0.69464
Details
Denial of service vulnerability when parsing multipart request body ### Summary The request body parsing in `starlite` allows a potentially unauthenticated attacker to consume a large amount of CPU time and RAM. ### Details The multipart body parser processes an unlimited number of file parts. The multipart body parser processes an unlimited number of field parts. ### Impact 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.
Metadata
Created: 2023-02-15T17:42:42Z
Modified: 2024-10-28T14:38:20Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-p24m-863f-fm6q/GHSA-p24m-863f-fm6q.json
CWE IDs: ["CWE-400", "CWE-770"]
Alternative ID: GHSA-p24m-863f-fm6q
Finding: F002
Auto approve: 1