CVE-2024-8019Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
Description
In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. The vulnerability occurs at the `/api/v1/upload_file/` endpoint, allowing an attacker to write or overwrite arbitrary files by providing a crafted filename. This can lead to potential remote code execution (RCE) by overwriting critical files or placing malicious files in sensitive locations.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| lightning-ai | lightning-ai/pytorch-lightning | unspecified – < 2.3.3 | |
| lightningai | pytorch lightning | 2.3.2 |
References and patches
CPE matches (NVD) (1)
cpe:2.3:a:lightningai:pytorch_lightning:2.3.2:*:*:*:*:python:*:*