CVE-2024-5452Lightningai Pytorch Lightning
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Lightningai · Lightningai Pytorch Lightning Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.3% probabilidad de explotación en 30 días · percentil 92
- Requiere autenticación
- No
- Publicada
- 6 jun 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
A remote code execution (RCE) vulnerability exists in the lightning-ai/pytorch-lightning library version 2.2.1 due to improper handling of deserialized user input and mismanagement of dunder attributes by the `deepdiff` library. The library uses `deepdiff.Delta` objects to modify application state based on frontend actions. However, it is possible to bypass the intended restrictions on modifying dunder attributes, allowing an attacker to construct a serialized delta that passes the deserializer whitelist and contains dunder attributes. When processed, this can be exploited to access other modules, classes, and instances, leading to arbitrary attribute write and total RCE on any self-hosted pytorch-lightning application in its default configuration, as the delta endpoint is enabled by default.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Pytorch Lightning.
- 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 | lightning |
< 2.3.3 |
2.3.3 |
pip install "lightning>=2.3.3" |
| PyPI | lightning |
< 2.3.3 |
2.3.3 |
pip install "lightning>=2.3.3" |
| PyPI | pytorch-lightning |
< 2.3.3 |
2.3.3 |
pip install "pytorch-lightning>=2.3.3" |
| PyPI | pytorch-lightning |
< 2.3.3 |
2.3.3 |
pip install "pytorch-lightning>=2.3.3" |
Según OSV / GitHub Advisories (GHSA-cgwc-qvrx-rf7f, PYSEC-2026-385, PYSEC-2026-3974). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| lightningai | pytorch_lightning | < 2.3.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- huntr.com Exploit Third Party Advisory