CVE-2024-5980
CRITICAL EPSS 67.0%
Published Jun 27, 20242y ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Published Jun 27, 2024 2y ago
Last Modified Jun 17, 2026 1w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
67.0% percentile
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-22 Path Traversal Resource Mgmt
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| lightningai | pytorch_lightning | * | ≥2.2.4 – <2.3.3 |
References 2
- github.com https://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a
- huntr.com https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.