cvedb.io
CVE-2024-52581
HIGH · CVSS 7.5
EPSS exploitation probability: 0%
Published 2024-11-20T21:15:08.320 · Last modified 2026-06-17T08:07:29.360

Summary

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

Affected products

litestar — litestar

Does this affect you?

Add your gear to cvedb and we'll alert you only when litestar ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.