CVE-2024-8020 json
Denial of Service in lightning-ai/pytorch-lightning
published 2025-03-20 19 mo ago modified 2026-09-10 59 d ago also GHSA-98fp-7v67-4v3q , PYSEC-2026-1857 , PYSEC-2026-3971 , EUVD-2025-6922
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-8020 updated cvss 7.5
pytorch-lightning: Denial of Service in lightning-ai/pytorch-lightning
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-codeflare-operator-rhel8not affected: vulnerable code not present “Implementing an input validation on the server-side for filter invalid POST requests to the /api/v1/state endpoint avoiding malicious requests.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pytorch-lightning | <=2.3.2 |
no fix listed |
| pypi | lightning | <=2.3.2 |
no fix listed |
Affected products
- lightning-ai lightning-ai/pytorch-lightning
Classification
- Weakness
-
- CWE-248 Uncaught Exception
References
-
huntr.com
/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-8020
advisory
-
github.com
/Lightning-AI/pytorch-lightning
package
-
pypi.org
/project/pytorch-lightning
package
-
github.com
/advisories/GHSA-98fp-7v67-4v3q
advisory
Sources
- CVE List CVE-2024-8020
- GitHub Advisory GHSA-98fp-7v67-4v3q
- NVD CVE-2024-8020
- OSV PYSEC-2026-1857
- OSV PYSEC-2026-3971
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.