Critical severity · published Jun 27, 2024
CVE-2024-5980
Arbitrary File Write via /v1/runs API endpoint in lightning-ai/pytorch-lightning
9.8
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
PL
Pytorch Lightning · Lightningai
2.2.4 before 2.3.3 · source: NVD
Affected product
LI
lightning-ai/pytorch-lightning
lightning-ai
More from lightning-ai/pytorch-lightning
9.8
CVE-2024-5452
RCE via Property/Class Pollution in lightning-ai/pytorch-lightning
9.1
CVE-2024-8019
Arbitrary File Write/Overwrite in lightning-ai/pytorch-lightning
7.5
CVE-2024-8020
Denial of Service in lightning-ai/pytorch-lightning