CVE-2024-5980 – lightning
Package
Manager: pip
Name: lightning
Vulnerable Version: >=0 <2.3.3
Severity
Level: Critical
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.05092 pctl0.89406
Details
pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint 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.
Metadata
Created: 2024-06-27T21:32:08Z
Modified: 2024-08-05T15:14:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-mr7h-w2qc-ffc2/GHSA-mr7h-w2qc-ffc2.json
CWE IDs: ["CWE-434"]
Alternative ID: GHSA-mr7h-w2qc-ffc2
Finding: F027
Auto approve: 1