PT-2025-12205 · Lightning Ai · Pytorch-Lightning
Published
2025-03-20
·
Updated
2025-08-01
·
CVE-2024-8020
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
pytorch-lightning version 2.3.2
Description
A vulnerability in
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.Recommendations
Update to a newer version of pytorch-lightning that addresses this issue. As a temporary workaround, consider restricting access to the
/api/v1/state endpoint to minimize the risk of exploitation.Exploit
Fix
DoS
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Pytorch-Lightning