低危 受影响的Git版本存在一个漏洞,可以诱骗Git向攻击者控制的主机发送私有凭据
CVE编号
CVE-2020-11008利用情况
暂无补丁情况
官方补丁披露时间
2020-04-22漏洞描述
受影响的Git版本具有一个漏洞,可以诱骗Git向攻击者控制的主机发送私有凭据。此错误类似于CVE-2020-5260(GHSA-qm7j-c969-7j4q)。该错误的修复仍为_some_凭据泄漏的漏洞利用打开了大门(但攻击者无法控制哪一个)。 Git使用外部“凭据帮助程序”来存储和检索操作系统提供的安全存储中的密码或其他凭据。从最近发布的Git版本开始,被视为非法的特制URL可能导致Git向助手发送“空白”模式,缺少主机名和协议字段。许多助手会将其解释为匹配的_any_ URL,并将返回一些未指定的存储密码,从而将密码泄露给攻击者的服务器。可以通过向“ git clone”提供恶意URL来触发该漏洞。但是,受影响的URL看起来可疑。可能的媒介是通过自动克隆用户不可见的URL的系统(例如Git子模块)或围绕Git构建的打包系统。问题的根源在于Git本身,它不应将空白输入提供给助手。但是,实际上,利用此漏洞的能力取决于所使用的助手。已知触发漏洞的凭据帮助程序:-Git的“存储”帮助程序-Git的“缓存”帮助程序-Git的“ contrib”目录中随附的“ osxkeychain”帮助程序:-适用于Windows的Git Credential Manager,应假定未在此列表中的任何帮助程序触发该漏洞。解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | git | git | * | Up to (excluding) 2.17.5 | |||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.18.0 | Up to (excluding) 2.18.4 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.19.0 | Up to (excluding) 2.19.5 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.20.0 | Up to (excluding) 2.20.4 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.21.0 | Up to (excluding) 2.21.3 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.22.0 | Up to (excluding) 2.22.4 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.23.0 | Up to (excluding) 2.23.3 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.24.0 | Up to (excluding) 2.24.3 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.25.0 | Up to (excluding) 2.25.4 | ||||
运行在以下环境 | |||||||||
应用 | git | git | * | From (including) 2.26.0 | Up to (excluding) 2.26.2 | ||||
运行在以下环境 | |||||||||
系统 | redhat_7 | emacs-git | * | Up to (excluding) 0:1.8.3.1-23.el7_8 | |||||
运行在以下环境 | |||||||||
系统 | suse_12 | git | * | Up to (excluding) 2.26.2-27.36 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | git | * | Up to (excluding) 1:2.7.4-0ubuntu1.9 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | git | * | Up to (excluding) 1:2.17.1-1ubuntu0.7 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 100
CWE-ID | 漏洞类型 |
CWE-522 | 不充分的凭证保护机制 |
Exp相关链接

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