CVE-2024-8020
Denial of Service in lightning-ai/pytorch-lightning
Reported by @huntr_ai · Published March 20, 2025
pytorch-lightning is fixed in 2.3.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pytorch-lightning | PyPI | 2.3.2 |
| lightning | PyPI | 2.3.2 |
| nemo | Chainguard | 2.2.1-r0 |
| lightning-ai/pytorch-lightning | lightning-ai | latest |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| lightning-ai | lightning-ai/pytorch-lightning | unspecified |
| chainguard | nemo | 0 |
| lightning-ai | lightning-ai/pytorch-lightning | * |
| PyPI | pytorch-lightning | 0 |
Timeline
- Mar 20, 2025 CVE Published
- Mar 20, 2025 EPSS Score (30 in total, the first dated here)
- Mar 21, 2025 Coalition ESS Score (10 in total, the first dated here)
- Feb 4, 2026 CVE Updated
- Mar 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-8020
vulnetix vdb fixes CVE-2024-8020
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-8020/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart