CVE-2024-8020: Denial of Service in lightning-ai/pytorch-lightning

Published Mar 20, 2025
·
Updated

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.

Affected Software

3 affected components
lightning-ai pytorch-lightning
pip/pytorch-lightning<=2.3.2
Lightningai Pytorch Lightning Python=2.3.2

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Data Sourced
via MITRE·10:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
Affected Software
Advisory Published
via GitHub·12:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-8020?

CVE-2024-8020 has been classified as a denial of service vulnerability.

2

How do I fix CVE-2024-8020?

To fix CVE-2024-8020, you should upgrade your installation of pytorch-lightning to a version higher than 2.3.2.

3

Which versions of PyTorch Lightning are affected by CVE-2024-8020?

CVE-2024-8020 affects PyTorch Lightning version 2.3.2 and earlier.

4

What is the impact of CVE-2024-8020 on applications using PyTorch Lightning?

The impact of CVE-2024-8020 includes a denial of service condition that can disrupt application functionality.

5

What causes the CVE-2024-8020 vulnerability?

CVE-2024-8020 is caused by improper handling of unexpected state values in POST requests to the /api/v1/state endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203