{"id":"CVE-2024-8020","summary":"Denial of Service in lightning-ai/pytorch-lightning","details":"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.","aliases":["GHSA-98fp-7v67-4v3q","PYSEC-2026-1857","PYSEC-2026-3971"],"modified":"2026-09-10T17:25:34.335699774Z","published":"2025-03-20T10:09:26.822Z","related":["CGA-4h5m-56hr-66hm"],"database_specific":{"cwe_ids":["CWE-248"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8020.json","cna_assigner":"@huntr_ai"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8020.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8020"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lightning-ai/pytorch-lightning","events":[{"introduced":"056bb0834b8fca739dec3e731b01f2f6631be142"},{"last_affected":"056bb0834b8fca739dec3e731b01f2f6631be142"}],"database_specific":{"extracted_events":[{"introduced":"2.3.2"},{"last_affected":"2.3.2"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*"}}],"versions":["2.3.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8020.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}