CVE-2024-52581Litestar
Alta 8.2 Sin autenticación
Seguir: esta CVE · Litestar · Litestar Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 64
- CVSS 4.0
- 8.2
- EPSS
- 1.2% probabilidad de explotación en 30 días · percentil 68
- Requiere autenticación
- No
- Publicada
- 20 nov 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
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
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Litestar.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | litestar |
< 2.13.0 |
2.13.0 |
pip install "litestar>=2.13.0" |
| PyPI | litestar |
< 2.13.0 |
2.13.0 |
pip install "litestar>=2.13.0" |
| PyPI | starlite |
≤ 1.51.16 |
sin versión corregida | — |
| PyPI | starlite |
≤ 1.51.16 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-gjcc-jvgw-wvwj, PYSEC-2024-178, PYSEC-2026-1944). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| litestar | litestar | < 2.13.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Product
- github.com Patch
- github.com Exploit Vendor Advisory
- github.com