中危 Git up to 2.30.0 connect.c git_connect_git Privilege Escalation
CVE编号
CVE-2021-40330利用情况
POC 已公开补丁情况
官方补丁披露时间
2021-08-31漏洞描述
git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may result in unexpected cross-protocol requests, as demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 substring.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473 | |
https://github.com/git/git/compare/v2.30.0...v2.30.1 | |
https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | git | git | * | Up to (excluding) 2.30.1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | git | * | Up to (excluding) 2.26.3-r1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | git | * | Up to (excluding) 1:2.20.1-2+deb10u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | git | * | Up to (excluding) 1:2.30.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | git | * | Up to (excluding) 1:2.30.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | git | * | Up to (including) 2.11.0-3+deb9u7 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | git | * | Up to (excluding) 1:2.30.1-1 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP1 | git | * | Up to (excluding) 2.27.0-5.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP1 | git | * | Up to (excluding) 2.27.0-5.ky10 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | git-core | * | Up to (excluding) 2.26.2-lp152.2.12.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | git-core | * | Up to (excluding) 2.26.2-27.49.3 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | git | * | Up to (excluding) 1:2.17.1-1ubuntu0.9 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | git | * | Up to (excluding) 1:2.17.1-1ubuntu0.9 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | git | * | Up to (excluding) 1:2.25.1-1ubuntu3.2 | |||||
运行在以下环境 | |||||||||
系统 | unionos_d | git | * | Up to (excluding) 1:2.20.1.4-deepin1 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 POC 已公开
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
NVD-CWE-noinfo |
Exp相关链接
- avd.aliyun.com
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论