CVE-2024-52581
Last modified
CVE-2024-52581 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 2.13.0, the multipart form parser shipped with litestar expects the entire request body as a single byte string and there is no default limit for the total size of the request body. EPSS estimates a 0.76% chance of exploitation in the next 30 days.
Description
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 2.13.0, the multipart form parser shipped with litestar expects the entire request body as a single byte string and there is no default limit for the total size of the request body. This allows an attacker to upload arbitrary large files wrapped in a `multipart/form-data` request and cause excessive memory consumption on the server. The multipart form parser in affected versions is vulnerable to this type of attack by design. The public method signature as well as its implementation both expect the entire request body to be available as a single byte string. It is not possible to accept large file uploads in a safe way using this parser. This may be a regression, as a variation of this issue was already reported in CVE-2023-25578. Limiting the part number is not sufficient to prevent out-of-memory errors on the server. A patch is available in version 2.13.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litestar | Litestar | < 2.13.0 |
References
- https://github.com/litestar-org/litestar/security/advisories/GHSA-gjcc-jvgw-wvwjExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-52581?
How severe is CVE-2024-52581?
How do I fix CVE-2024-52581?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-52572A vulnerability has been identified in Teamcenter Visualizat…7.8
- CVE-2024-52573A vulnerability has been identified in Teamcenter Visualizat…7.8
- CVE-2024-52574A vulnerability has been identified in Teamcenter Visualizat…7.8
- CVE-2024-52577In Apache Ignite versions from 2.6.0 and before 2.17.0, conf…9
- CVE-2024-52579Misskey is an open source, federated social media platform. …5.4
- CVE-2024-5258An authorization vulnerability exists within GitLab from ver…4.3
- CVE-2024-52582Cachi2 is a command-line interface tool that pre-fetches a p…4.7
- CVE-2024-52583The WesHacks GitHub repository provides the official Hackath…8.2
- CVE-2024-52584Autolab is a course management service that enables auto-gra…5.4
- CVE-2024-52585Autolab is a course management service that enables auto-gra…5.4
- CVE-2024-52586eLabFTW is an open source electronic lab notebook for resear…7.8
- CVE-2024-52587StepSecurity's Harden-Runner provides network egress filteri…8.8
Are you affected by CVE-2024-52581?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
