PT-2025-12205 · Lightning Ai · Pytorch-Lightning

Published

2025-03-20

·

Updated

2025-08-01

·

CVE-2024-8020

CVSS v3.1
7.5
VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2024-8020
GHSA-98FP-7V67-4V3Q

Affected Products

Pytorch-Lightning