Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pytorch-lightning
  4. ›
  5. CVE-2024-8020

CVE-2024-8020: PyTorch Lightning denial of service vulnerability

March 20, 2025 (updated March 21, 2025)

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.

References

  • github.com/Lightning-AI/pytorch-lightning
  • github.com/advisories/GHSA-98fp-7v67-4v3q
  • huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a
  • nvd.nist.gov/vuln/detail/CVE-2024-8020

Code Behaviors & Features

Detect and mitigate CVE-2024-8020 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.3.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception

Source file

pypi/pytorch-lightning/CVE-2024-8020.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.