漏洞详情: CVE-2024-32002

漏洞标题
Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
来源:NVD
Microsoft Visual Studio 安全漏洞
来源:CNNVD
Git在对大小写不敏感的文件系统且支持符号链接的系统上的递归克隆容易受到远程代码执行攻击。
来源:神龙机器人
漏洞描述
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.
来源:NVD
Microsoft Visual Studio是美国微软(Microsoft)公司的一款开发工具套件系列产品,也是一个基本完整的开发工具集,它包括了整个软件生命周期中所需要的大部分工具。 Microsoft Visual Studio存在安全漏洞的相关信息,请随时关注CNNVD或厂商公告。
来源:CNNVD
Git是一个版本控制系统。在版本2.45.1、2.44.1、2.43.4、2.42.2、2.41.1、2.40.2和2.39.4之前,存在一种可以利用Git的漏洞来操控子模块的策略。这个漏洞使得Git可以被误导,将文件写入子模块的工作树之外的`.git/`目录中。这允许编写一个钩子,该钩子将在克隆操作仍在进行时执行,给用户没有机会检查正在执行的代码的机会。该问题已在版本2.45.1、2.44.1、2.43.4、2.42.2、2.41.1、2.40.2和2.39.4中被修复。如果Git禁用了符号链接支持(例如,通过`git config --global core.symlinks false`进行配置),则描述的攻击将不会起作用。正如以往一样,最好避免从不可信的来源克隆仓库。
来源:神龙机器人
漏洞评分(CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
来源:NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源:神龙机器人, 准确率:6/8 = 75.00%
漏洞类别
对路径名的限制不恰当(路径遍历)
来源:NVD
其他
来源:CNNVD
情报信息
相关链接