CVE-2024-8020

HIGH
Published Mar 20, 2025 Modified Oct 15, 2025 CWE-248

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.

Is your site exposed to CVE-2024-8020?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.5
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness Type (CWE)

CWE-248 CWE-248

Affected Products

Vendor Product
lightningai pytorch_lightning

References

Frequently Asked Questions

What is CVE-2024-8020? +
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. It has a CVSS v3.1 base score of 7.5 (HIGH).
How severe is CVE-2024-8020? +
CVE-2024-8020 has a CVSS v3.1 score of 7.5 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-8020? +
CVE-2024-8020 affects products from lightningai, specifically: pytorch_lightning. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-8020? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-8020 — free, no signup required.