9.1
Critical
CVE-2024-5980 A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path…
Description
A vulnerability in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 allows attackers to exploit path traversal when extracting tar.gz files. When the LightningApp is running with the plugin_server, attackers can deploy malicious tar.gz plugins that embed arbitrary files with path traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim's local file system, potentially leading to remote code execution.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| lightning-ai/pytorch-lightning 2.3 | earliest → < 2.3.3 | 2.3.3 |
| lightning_ai\/pytorch_lightning | Versions not published |
Other CVEs of lightning-ai/pytorch-lightning
The 4 CVEs of lightning-ai/pytorch-lightning →
CVE-2024-8020
A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by…
7.5
High
CVE-2024-8019
In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a…
9.1
Critical
CVE-2024-5452
A remote code execution (RCE) vulnerability exists in the lightning-ai/pytorch-lightning library version 2.2.1 due to…
9.8
Critical