CVE-2024-5980
CRITICAL9.1EPSS 10.7%pytorch-lightning vulnerable to Arbitrary File Write via /v1/runs API endpoint
發布日:2024/6/27修改日:2025/10/16
描述
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.
受影響套件(1)
- PyPI/lightningfrom 0, < 2.3.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
參考連結(6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-5980
- PATCHhttps://github.com/lightning-ai/pytorch-lightning
- WEBhttps://github.com/lightning-ai/pytorch-lightning/commit/330af381de88cff17515418a341cbc1f9f127f9a
- WEBhttps://github.com/Lightning-AI/pytorch-lightning/pull/20039
- WEBhttps://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.3.3
- WEBhttps://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3