中危 thenify 小于3.3.1 版本任意代码执行漏洞

CVE编号

CVE-2020-7677

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-07-25
漏洞描述
thenify是一个可以将基于回调的function转换为返回promise的function的npm包。
3.3.1 之前的 thenify 存在任意代码执行漏洞。 漏洞源于name 参数被传递到eval的过程中可以被用户输入控制并可以任意拼接name 参数。
攻击者可利用该漏洞进行代码执行,甚至接管服务器
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 thenify_project thenify * Up to
(excluding)
3.3.1
运行在以下环境
系统 debian_10 node-thenify * Up to
(excluding)
3.3.0-1+deb10u1
运行在以下环境
系统 debian_11 node-thenify * Up to
(excluding)
3.3.1-1
运行在以下环境
系统 debian_12 node-thenify * Up to
(excluding)
3.3.1-1
运行在以下环境
系统 fedora_36 yarnpkg * Up to
(excluding)
1.22.19-3.fc36
运行在以下环境
系统 fedora_37 yarnpkg * Up to
(excluding)
1.22.19-3.fc37
运行在以下环境
系统 fedora_EPEL_9 yarnpkg * Up to
(excluding)
1.22.19-5.el9
运行在以下环境
系统 ubuntu_18.04 node-thenify * Up to
(excluding)
3.3.0-1+deb10u1build0.18.04.1
运行在以下环境
系统 ubuntu_20.04 node-thenify * Up to
(excluding)
3.3.0-1+deb10u1build0.20.04.1
阿里云评分
6.7
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
NVD-CWE-noinfo
阿里云安全产品覆盖情况