Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.3.3, lightning 2.4.0 and pytorch-lightning 2.4.0.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Lightning-AI | <2.3.3 | 2.3.3 | |
| pypi: lightning | <2.4.0 | 2.4.0 | |
| pypi: pytorch-lightning | <2.4.0 | 2.4.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in lightning (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket