{"id":"CVE-2024-8020","aliases":["CVE-2024-8020","GHSA-98fp-7v67-4v3q","PYSEC-2026-1857","PYSEC-2026-3971"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in lightning-ai/pytorch-lightning","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en lightning-ai/pytorch-lightning versión 2.3.2 permite a un atacante provocar una denegación de servicio mediante el envío de una solicitud POST inesperada al endpoint `/api/v1/state` de `LightningApp`. Este problema se produce debido a la gestión incorrecta de valores de estado inesperados, lo que provoca el apagado del servidor.","source":"nvd"}],"published":"2025-03-20T10:09:26.822Z","modified":"2026-09-10T17:25:34.335Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"lightning-ai","product":"lightning-ai/pytorch-lightning","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.3.2"}],"ecosystem":"PyPI","package":"pytorch-lightning","purl":"pkg:pypi/pytorch-lightning","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.3.2"}],"vendor":"lightningai","product":"pytorch_lightning","cpe":"cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.3.2"}],"ecosystem":"PyPI","package":"pytorch-lightning","purl":"pkg:pypi/pytorch-lightning","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.3.2"}],"ecosystem":"PyPI","package":"lightning","purl":"pkg:pypi/lightning","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/8b642a78-2b80-4fb0-9b2f-8ba0ff37db6a","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8020","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/Lightning-AI/pytorch-lightning","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pytorch-lightning","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-98fp-7v67-4v3q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:53:50.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8020","url":"https://www.cve.org/CVERecord?id=CVE-2024-8020","licence":"CVE Terms of Use","modified":"2025-10-15T12:49:53.948Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-98fp-7v67-4v3q","url":"https://github.com/advisories/GHSA-98fp-7v67-4v3q","licence":"CC-BY-4.0","modified":"2026-09-10T17:25:34.335Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8020","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8020","licence":"Public domain","modified":"2026-06-17T08:21:42.093Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1857","url":"https://osv.dev/vulnerability/PYSEC-2026-1857","licence":"CC-BY-4.0","modified":"2026-09-10T17:25:34.335Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3971","url":"https://osv.dev/vulnerability/PYSEC-2026-3971","licence":"CC-BY-4.0","modified":"2026-09-10T17:25:34.335Z"}],"updatedAt":"2026-11-25T22:58:52.387Z","epss":{"score":0.00642,"percentile":0.52082,"date":"2026-12-01T12:00:22.000Z"}}