PyTorch Lightning denial of service vulnerability
Date: 2025-03
Affected: pip/pytorch-lightning
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-8020
CWE: CWE-248
CVSS: 7.5 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of `LightningApp`. This issue occurs due to improper handling of unexpected state values, which results in the server shutting down.


Mitigations:

Architectural layers (MAESTRO):