CVE-2023-25578
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 1.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.0% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-770 · Allocation without limits
- Record status
- Modified
Affected
- Starliteproject Starlite < 1.51.2
Attack profile CVSS 3.1 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-25578.md and follow it. Check whether this project is affected by CVE-2023-25578. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
- https://github.com/starlite-api/starlite/releases/tag/v1.51.2
- https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q
- https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
- https://github.com/starlite-api/starlite/releases/tag/v1.51.2
- https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q
References
- https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
- https://github.com/starlite-api/starlite/releases/tag/v1.51.2
- https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q
- https://github.com/starlite-api/starlite/commit/9674fe803628f986c03fe60769048cbc55b5bf83
- https://github.com/starlite-api/starlite/releases/tag/v1.51.2
- https://github.com/starlite-api/starlite/security/advisories/GHSA-p24m-863f-fm6q