中危 NPM Node-tar 路径遍历漏洞
CVE编号
CVE-2021-37713利用情况
暂无补丁情况
官方补丁披露时间
2021-09-01漏洞描述
node-tar是一款用于文件压缩/解压缩的软件包。 npm node-tar 存在路径遍历漏洞,该漏洞源于4.4.18、5.0.10和6.1.9之前的npm包“tar”(又名node-tar)存在任意文件创建覆盖和任意代码执行漏洞。攻击者可利用该漏洞访问受限目录之外的位置。解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/npm/node-tar/security/advisories/GHSA-5955-9wpr-37jh受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | npmjs | tar | * | Up to (including) 4.4.17 | |||||
运行在以下环境 | |||||||||
应用 | npmjs | tar | * | From (including) 5.0.0 | Up to (including) 5.0.9 | ||||
运行在以下环境 | |||||||||
应用 | npmjs | tar | * | From (including) 6.0.0 | Up to (including) 6.1.8 | ||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | nodejs | * | Up to (excluding) 12.22.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | nodejs | * | Up to (excluding) 12.22.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | nodejs | * | Up to (excluding) 14.17.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | node-tar | * | Up to (excluding) 4.4.6+ds1-3+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | node-tar | * | Up to (excluding) 6.0.5+ds1+~cs11.3.9-1+deb11u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | node-tar | * | Up to (excluding) 6.1.13+~cs7.0.5-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | node-tar | * | Up to (excluding) 6.1.13+~cs7.0.5-1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | npm12 | * | Up to (excluding) 14.18.1-lp152.17.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | nodejs14 | * | Up to (excluding) 12.22.7-4.22.1 | |||||
- 攻击路径 本地
- 攻击复杂度 容易
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 传输被破坏
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-22 | 对路径名的限制不恰当(路径遍历) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论