低危 Git up to 2.19.0 Clone URL 输入验证漏洞

CVE编号

CVE-2018-17456

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2018-10-07
漏洞描述
2.5.1.5之前的2.15.2.5之前的2.15.x之前的2.15.x、2.17.5.2之前的2.17.x、2.18.2.1之前2.18.x和2.19.x之前2.19.x的Git允许在执行超级项目的递归&ldquo;Git克隆&rdquo;的过程中执行远程代码执行。GITModules文件具有开头为&ldquo;-&rdquo;字符的URL字段。&nbsp;<br />
&nbsp;

解决建议
用户可参考如下厂商提供的安全补丁以修复该漏洞:
https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 git-scm git * From
(including)
2.14.0
Up to
(excluding)
2.14.5
运行在以下环境
应用 git-scm git * From
(including)
2.15.0
Up to
(excluding)
2.15.3
运行在以下环境
应用 git-scm git * From
(including)
2.16.0
Up to
(excluding)
2.16.5
运行在以下环境
应用 git-scm git * From
(including)
2.17.0
Up to
(excluding)
2.17.2
运行在以下环境
应用 git-scm git * From
(including)
2.18.0
Up to
(excluding)
2.18.1
运行在以下环境
应用 git-scm git * From
(including)
2.19.0
Up to
(excluding)
2.19.1
运行在以下环境
应用 redhat ansible_tower 3.3 -
运行在以下环境
系统 alpine_3.10 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.11 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.12 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.13 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.14 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.15 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.16 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.17 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.18 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.19 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 alpine_3.5 git * Up to
(excluding)
2.11.3-r2
运行在以下环境
系统 alpine_3.6 git * Up to
(excluding)
2.13.7-r1
运行在以下环境
系统 alpine_3.7 git * Up to
(excluding)
2.15.3-r0
运行在以下环境
系统 alpine_3.8 git * Up to
(excluding)
2.18.1-r0
运行在以下环境
系统 alpine_3.9 git * Up to
(excluding)
2.19.1-r0
运行在以下环境
系统 amazon_2 git * Up to
(excluding)
2.14.5-1.amzn2
运行在以下环境
系统 amazon_AMI git * Up to
(excluding)
2.14.5-1.59.amzn1
运行在以下环境
系统 centos_6 git * Up to
(excluding)
1.7.1-10.el6_10
运行在以下环境
系统 centos_7 git * Up to
(excluding)
1.8.3.1-20.el7
运行在以下环境
系统 debian_10 git * Up to
(excluding)
2.19.1-1
运行在以下环境
系统 debian_11 git * Up to
(excluding)
2.19.1-1
运行在以下环境
系统 debian_12 git * Up to
(excluding)
2.19.1-1
运行在以下环境
系统 fedora_27 git * Up to
(excluding)
2.14.5-1.fc27
运行在以下环境
系统 fedora_28 git * Up to
(excluding)
2.17.2-1.fc28
运行在以下环境
系统 fedora_28_Modular libgit2 * Up to
(excluding)
0.27-20181006095357.9c690d0e
运行在以下环境
系统 fedora_29 git * Up to
(excluding)
2.19.1-1.fc29
运行在以下环境
系统 fedora_29_Modular libgit2 * Up to
(excluding)
0.27-20181006095357.6c81f848
运行在以下环境
系统 fedora_EPEL_7 libgit2 * Up to
(excluding)
0.26.7-1.el7
运行在以下环境
系统 opensuse_Leap_15.0 git * Up to
(excluding)
2.16.4-lp150.2.6.1
运行在以下环境
系统 opensuse_Leap_15.1 git * Up to
(excluding)
2.26.1-lp151.4.9.1
运行在以下环境
系统 opensuse_Leap_42.3 git * Up to
(excluding)
2.13.7-16.1
运行在以下环境
系统 oracle_6 git * Up to
(excluding)
1.7.1-10.el6_10
运行在以下环境
系统 oracle_7 git * Up to
(excluding)
1.8.3.1-20.el7
运行在以下环境
系统 redhat_7 git * Up to
(excluding)
1.8.3.1-20.el7
运行在以下环境
系统 suse_12_SP3 git-core * Up to
(excluding)
2.12.3-27.17.2
运行在以下环境
系统 suse_12_SP4 git-core * Up to
(excluding)
2.12.3-27.17.2
运行在以下环境
系统 ubuntu_14.04 git * Up to
(excluding)
1.9.1-1ubuntu0.9
运行在以下环境
系统 ubuntu_16.04 git * Up to
(excluding)
2.7.4-0ubuntu1.5
运行在以下环境
系统 ubuntu_18.04 git * Up to
(excluding)
2.17.1-1ubuntu0.3
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-88 参数注入或修改
阿里云安全产品覆盖情况