CVE-2024-8020
HIGH 7.5CVSS 3.0PyTorch Lightning denial of service vulnerability
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.
- Published
- 20 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-248
- Also known as
- GHSA-98fp-7v67-4v3qPYSEC-2026-1857PYSEC-2026-3971
- Sources
- NVDJSONOSV GHSA-98fp-7v67-4v3qJSONOSV PYSEC-2026-1857JSONOSV PYSEC-2026-3971JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lightningai | pytorch_lightningcpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:* |
= 2.3.2 | |
| OSV | PyPI | pytorch-lightning | <= 2.3.2 | |
| OSV | PyPI | lightning | <= 2.3.2 |
References
- https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-8020 · ADVISORY
- https://github.com/Lightning-AI/pytorch-lightning · PACKAGE
- https://pypi.org/project/pytorch-lightning · PACKAGE
- https://github.com/advisories/GHSA-98fp-7v67-4v3q · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)