目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2021-21300— Git 后置链接漏洞

一分钟漏洞结论

影响对象
git git
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Git是一套免费、开源的分布式版本控制系统。 Git 存在后置链接漏洞,该漏洞允许攻击者利用特别制作的存储库导致just-checked脚本执行而克隆到一个不区分大小写的文件系统。

CVSS 8.0 · High EPSS 88.53% · P100

公开利用映射 1

获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2021-21300 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
malicious repositories can execute remote code while cloning
来源: CVE Program / CVE List V5
Vulnerability Description
Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as files using a clean/smudge filter such as Git LFS, may cause just-checked out script to be executed while cloning onto a case-insensitive file system such as NTFS, HFS+ or APFS (i.e. the default file systems on Windows and macOS). Note that clean/smudge filters have to be configured for that. Git for Windows configures Git LFS by default, and is therefore vulnerable. The problem has been patched in the versions published on Tuesday, March 9th, 2021. As a workaound, if symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. Likewise, if no clean/smudge filters such as Git LFS are configured globally (i.e. _before_ cloning), the attack is foiled. As always, it is best to avoid cloning repositories from untrusted sources. The earliest impacted version is 2.14.2. The fix versions are: 2.30.1, 2.29.3, 2.28.1, 2.27.1, 2.26.3, 2.25.5, 2.24.4, 2.23.4, 2.22.5, 2.21.4, 2.20.5, 2.19.6, 2.18.5, 2.17.62.17.6.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
来源: CVE Program / CVE List V5
Vulnerability Title
Git 后置链接漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Git是一套免费、开源的分布式版本控制系统。 Git 存在后置链接漏洞,该漏洞允许攻击者利用特别制作的存储库导致just-checked脚本执行而克隆到一个不区分大小写的文件系统。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
git git >= 2.14.2, < 2.17.62.17.6 -

二、漏洞 CVE-2021-21300 的公开POC

# POC 描述 源链接 神龙链接
1 None https://github.com/AlkenePan/CVE-2021-21300 POC详情
2 None https://github.com/Faisal78123/CVE-2021-21300 POC详情
3 None https://github.com/erranfenech/CVE-2021-21300 POC详情
4 None https://github.com/Maskhe/CVE-2021-21300 POC详情
5 remote code exec for git https://github.com/1uanWu/CVE-2021-21300 POC详情
6 None https://github.com/Kirill89/CVE-2021-21300 POC详情
7 None https://github.com/ETOCheney/cve-2021-21300 POC详情
8 None https://github.com/fengzhouc/CVE-2021-21300 POC详情
9 None https://github.com/danshuizhangyu/CVE-2021-21300 POC详情
10 None https://github.com/0ahu/CVE-2021-21300 POC详情
11 None https://github.com/Jiang59991/cve-2021-21300 POC详情
12 None https://github.com/Jiang59991/cve-2021-21300-plus POC详情
13 None https://github.com/macilin/CVE-2021-21300 POC详情
14 the payload of CVE-2021-21300 https://github.com/Roboterh/CVE-2021-21300 POC详情
15 CVE-2021-21300 https://github.com/henry861010/Network_Security_NYCU POC详情
16 None https://github.com/Saboor-Hakimi-23/CVE-2021-21300 POC详情
17 None https://github.com/Threekiii/Awesome-POC/blob/master/%E5%85%B6%E4%BB%96%E6%BC%8F%E6%B4%9E/Git%20for%20Visual%20Studio%E8%BF%9C%E7%A8%8B%E6%89%A7%E8%A1%8C%E4%BB%A3%E7%A0%81%E6%BC%8F%E6%B4%9E%20CVE-2021-21300.md POC详情
18 None https://github.com/Sizvy/CVE-2021-21300 POC详情
19 CVE-2021-21300 test https://github.com/the-chivalrousZ/cve-2021-21300 POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2021-21300 的情报信息

请登录查看更多情报信息。

CVE-2021-21300 补丁与修复 (1)

CVE-2021-21300 厂商安全公告 (3)

CVE-2021-21300 公开利用代码 (1)

CVE-2021-21300 邮件列表归档 (6)

CVE-2021-21300 其他参考 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2021-21300

暂无评论


发表评论