低危 getcomposer composer 参数注入或修改

CVE编号

CVE-2021-29472

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-04-29
漏洞描述
URLs for Mercurial repositories in the root composer.json and package source download URLs are not sanitized correctly. Specifically crafted URL values allow commands to be executed in the HgDriver if hg/Mercurial is installed on the system.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 getcomposer composer * Up to
(excluding)
1.10.22
运行在以下环境
应用 getcomposer composer * From
(including)
2.0
Up to
(excluding)
2.0.13
运行在以下环境
系统 alpine_3.13 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.14 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.15 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.16 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.17 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.18 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 alpine_3.19 composer * Up to
(excluding)
2.0.13-r0
运行在以下环境
系统 debian_10 composer * Up to
(excluding)
1.8.4-1+deb10u1
运行在以下环境
系统 debian_11 composer * Up to
(excluding)
2.0.9-2
运行在以下环境
系统 debian_12 composer * Up to
(excluding)
2.0.9-2
运行在以下环境
系统 debian_9 composer * Up to
(excluding)
1.2.2-1+deb9u1
运行在以下环境
系统 fedora_32 composer * Up to
(excluding)
1.10.22-1.fc32
运行在以下环境
系统 fedora_33 composer * Up to
(excluding)
2.0.13-1.fc33
运行在以下环境
系统 fedora_34 composer * Up to
(excluding)
2.0.13-1.fc34
运行在以下环境
系统 fedora_EPEL_7 composer * Up to
(excluding)
1.10.22-1.el7
运行在以下环境
系统 opensuse_Leap_15.2 php-composer * Up to
(excluding)
1.10.22-bp153.2.3.1
运行在以下环境
系统 opensuse_Leap_15.3 php-composer * Up to
(excluding)
1.10.22-bp153.2.3.1
阿里云评分
3.3
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    N/A
  • 补丁情况
    官方补丁
  • 数据保密性
    N/A
  • 数据完整性
    传输被破坏
  • 服务器危害
    DoS
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-88 参数注入或修改
CWE-94 对生成代码的控制不恰当(代码注入)
阿里云安全产品覆盖情况