VDB

CVE-2024-8020

CVE-2024-8020 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
pytorch-lightningPyPI2.3.2
lightningPyPI2.3.2
nemoChainguard2.2.1-r0
lightning-ai/pytorch-lightninglightning-ailatest

Risk scores

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

Affected products

VendorProductVersions
lightning-ailightning-ai/pytorch-lightningunspecified
chainguardnemo0
lightning-ailightning-ai/pytorch-lightning*
PyPIpytorch-lightning0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›