CVE-2024-52581: Litestar is an Asynchronous Server Gateway Interface (ASGI) framework
CVE-2024-52581 is a high-severity flaw (CVSS 7.5) affecting litestar. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 i
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-770 |
| Published | 2024-11-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-52581?
litestar: upgrade to 2.13.0. Exact commands for each OS are on this page.
Is CVE-2024-52581 being exploited?
CVE-2024-52581 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-52581 affect?
CVE-2024-52581 affects litestar. Severity is high (CVSS 7.5). 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 to
How urgent is CVE-2024-52581?
Priority 50/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action