CVE-2024-5452
CRITICALDescription
A remote code execution (RCE) vulnerability exists in the lightning-ai/pytorch-lightning library version 2.2.1 due to improper handling of deserialized user input and mismanagement of dunder attributes by the `deepdiff` library. The library uses `deepdiff.Delta` objects to modify application state based on frontend actions. However, it is possible to bypass the intended restrictions on modifying dunder attributes, allowing an attacker to construct a serialized delta that passes the deserializer whitelist and contains dunder attributes. When processed, this can be exploited to access other modules, classes, and instances, leading to arbitrary attribute write and total RCE on any self-hosted pytorch-lightning application in its default configuration, as the delta endpoint is enabled by default.
Is your site exposed to CVE-2024-5452?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| lightningai | pytorch_lightning |
References
Frequently Asked Questions
What is CVE-2024-5452? +
How severe is CVE-2024-5452? +
What products are affected by CVE-2024-5452? +
How do I check if I'm vulnerable to CVE-2024-5452? +
Related Vulnerabilities
Craft CMS is a content management system (CMS). Versions 5.7.0 and above, prior to 5.9.21 contain a mass-assignment flaw in …
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, …
Django-Unicorn adds modern reactive component functionality to Django templates. Affected versions of Django-Unicorn are vulnerable to python class pollution vulnerability. …
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.1.2, …
The create and edit flows do not restrict which user properties may be submitted and do not enforce access control …
A Privilege Escalation through a Mass Assignment exists in Camaleon CMS When a user wishes to change his password, the …