通过 lightning-ai/pytorch-lightning 中的 /v1/runs API 端点进行任意文件写入 (CVE-2024-5980)

admin 2024-06-30 22:37:37 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
通过 lightning-ai/pytorch-lightning 中的 /v1/runs API 端点进行任意文件写入 (CVE-2024-5980)

CVE编号

CVE-2024-5980

利用情况

暂无

补丁情况

N/A

披露时间

2024-06-28
漏洞描述
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.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://huntr.com/bounties/55a6ac6f-89c7-42ea-86f3-c6e93a2679f3
CVSS3评分 9.1
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 无
  • 可用性 高
  • 保密性 无
  • 完整性 高
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CWE-ID 漏洞类型
CWE-434 危险类型文件的不加限制上传
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0