HIGH 7.5 PyPI
PyTorch Lightning denial of service vulnerability
GHSA-98fp-7v67-4v3q · CVE-2024-8020 · PYSEC-2026-1857 · PYSEC-2026-3971
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes