CVE-2024-8020

High

Description

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLightningai Pytorch Lightning
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-248CWE-248

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
lightningai pytorch_lightning2.3.2—
pytorch-lightningPyPIv ≤ 2.3.2—
lightningPyPIv ≤ 2.3.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-8020 · Lightningai Pytorch Lightning · Dark Radar