15 Star 0 Fork 38

src-openEuler/git

 / 详情

CVE-2024-32002

已完成
CVE和安全问题 拥有者
创建于  
2024-05-15 03:39

一、漏洞信息
漏洞编号:CVE-2024-32002
漏洞归属组件:git
漏洞归属的版本:2.27.0,2.30.0,2.33.0,2.36.1,2.38.1,2.39.1,2.41.0
CVSS V3.0分值:
BaseScore:9.0 Critical
Vector:CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
漏洞简述:
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.
漏洞公开时间:2024-05-15 03:15:10
漏洞创建时间:2024-05-15 03:39:40
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-32002

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt
security-advisories.github.com https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks
security-advisories.github.com https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
security-advisories.github.com https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
debian https://security-tracker.debian.org/tracker/CVE-2024-32002
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-32002
cve_search https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
cve_search https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
cve_search https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt
cve_search https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks
git https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
git https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-32002 https://explore.alas.aws.amazon.com/CVE-2024-32002.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32002 https://explore.alas.aws.amazon.com/CVE-2024-32002.html
snyk https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d https://security.snyk.io/vuln/SNYK-UNMANAGED-GITGIT-6841704
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-32002 https://ubuntu.com/security/CVE-2024-32002
ubuntu https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv https://ubuntu.com/security/CVE-2024-32002
ubuntu https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d https://ubuntu.com/security/CVE-2024-32002
ubuntu https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt https://ubuntu.com/security/CVE-2024-32002
ubuntu https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks https://ubuntu.com/security/CVE-2024-32002
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-32002 https://ubuntu.com/security/CVE-2024-32002
ubuntu https://launchpad.net/bugs/cve/CVE-2024-32002 https://ubuntu.com/security/CVE-2024-32002
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-32002 https://ubuntu.com/security/CVE-2024-32002
ubuntu http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071160 https://ubuntu.com/security/CVE-2024-32002

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d security-advisories.github.com
https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d snyk
https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt nvd
https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks nvd
https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d nvd
https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv nvd
https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d ubuntu

二、漏洞分析结构反馈
影响性分析说明:
Git中发现了一个漏洞。此漏洞允许恶意操作包含子模块的存储库,利用git的错误将文件写入.git/目录而不是子模块的工作树。这种操作有助于在克隆过程中执行任意代码,绕过用户检查和控制。
openEuler评分:
9.0
Vector:CVSS:2.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.master(2.38.1):受影响
2.openEuler-20.03-LTS-SP1(2.27.0):受影响
3.openEuler-20.03-LTS-SP4(2.27.0):受影响
4.openEuler-22.03-LTS(2.33.0):受影响
5.openEuler-22.03-LTS-Next(2.33.0):受影响
6.openEuler-22.03-LTS-SP1(2.33.0):受影响
7.openEuler-22.03-LTS-SP2(2.33.0):受影响
8.openEuler-22.03-LTS-SP3(2.33.0):受影响
9.openEuler-22.03-LTS-SP4:受影响
10.openEuler-24.03-LTS:受影响
11.openEuler-24.03-LTS-Next:受影响

修复是否涉及abi变化(是/否):
1.master(2.38.1):否
2.openEuler-20.03-LTS-SP1(2.27.0):否
3.openEuler-20.03-LTS-SP4(2.27.0):否
4.openEuler-22.03-LTS(2.33.0):否
5.openEuler-22.03-LTS-Next(2.33.0):否
6.openEuler-22.03-LTS-SP1(2.33.0):否
7.openEuler-22.03-LTS-SP2(2.33.0):否
8.openEuler-22.03-LTS-SP3(2.33.0):否
9.openEuler-22.03-LTS-SP4:否
10.openEuler-24.03-LTS:否
11.openEuler-24.03-LTS-Next:否

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-1662

评论 (16)

openeuler-ci-bot 创建了CVE和安全问题 11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-32002NoneNonehttps://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
https://ubuntu.com/security/CVE-2024-32002NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2024-32002NoneNonehttps://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-32002
https://security-tracker.debian.org/tracker/CVE-2024-32002

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
qiaojijun 通过合并 Pull Request !143: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
qiaojijun 通过合并 Pull Request !140: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-sync-bot 通过合并 Pull Request !149: [sync] PR-140: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
qiaojijun 通过合并 Pull Request !156: Fix CVE-2024-32002 openEuler-22.03-LTS任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 修改了描述 11个月前
fly_fzc 通过合并 Pull Request !157: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !158: [sync] PR-157: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !159: [sync] PR-157: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !160: [sync] PR-157: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前

影响性分析说明:
Git中发现了一个漏洞。此漏洞允许恶意操作包含子模块的存储库,利用git的错误将文件写入.git/目录而不是子模块的工作树。这种操作有助于在克隆过程中执行任意代码,绕过用户检查和控制。

openEuler评分:
Base Score: 9.0 CRITICAL
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

受影响版本排查(受影响/不受影响):
1.master(2.38.1):受影响
2.openEuler-20.03-LTS-SP1(2.27.0):受影响
3.openEuler-20.03-LTS-SP4(2.27.0):受影响
4.openEuler-22.03-LTS(2.33.0):受影响
5.openEuler-22.03-LTS-Next(2.33.0):受影响
6.openEuler-22.03-LTS-SP1(2.33.0):受影响
7.openEuler-22.03-LTS-SP2(2.33.0):受影响
8.openEuler-22.03-LTS-SP3(2.33.0):受影响
9.openEuler-22.03-LTS-SP4(2.33.0):受影响
10.openEuler-24.03-LTS:受影响
11.openEuler-24.03-LTS-Next:受影响

修复是否涉及abi变化(是/否):
1.master(2.38.1):否
2.openEuler-20.03-LTS-SP1(2.27.0):否
3.openEuler-20.03-LTS-SP4(2.27.0):否
4.openEuler-22.03-LTS(2.33.0):否
5.openEuler-22.03-LTS-Next(2.33.0):否
6.openEuler-22.03-LTS-SP1(2.33.0):否
7.openEuler-22.03-LTS-SP2(2.33.0):否
8.openEuler-22.03-LTS-SP3(2.33.0):否
9.openEuler-22.03-LTS-SP4(2.33.0):否
10.openEuler-24.03-LTS:否
11.openEuler-24.03-LTS-Next:否

@ 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 需分析 内容
已分析 1.影响性分析说明 Git中发现了一个漏洞。此漏洞允许恶意操作包含子模块的存储库,利用git的错误将文件写入.git/目录而不是子模块的工作树。这种操作有助于在克隆过程中执行任意代码,绕过用户检查和控制。
已分析 2.openEulerScore 9
已分析 3.openEulerVector AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
已分析 4.受影响版本排查 master:受影响,openEuler-20.03-LTS-SP1:受影响,openEuler-20.03-LTS-SP4:受影响,openEuler-22.03-LTS:受影响,openEuler-22.03-LTS-Next:受影响,openEuler-22.03-LTS-SP1:受影响,openEuler-22.03-LTS-SP2:受影响,openEuler-22.03-LTS-SP3:受影响,openEuler-22.03-LTS-SP4:受影响,openEuler-24.03-LTS:受影响,openEuler-24.03-LTS-Next:受影响
已分析 5.修复是否涉及abi变化 master:否,openEuler-20.03-LTS-SP1:否,openEuler-20.03-LTS-SP4:否,openEuler-22.03-LTS:否,openEuler-22.03-LTS-Next:否,openEuler-22.03-LTS-SP1:否,openEuler-22.03-LTS-SP2:否,openEuler-22.03-LTS-SP3:否,openEuler-22.03-LTS-SP4:否,openEuler-24.03-LTS:否,openEuler-24.03-LTS-Next:否

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
qiaojijun 通过合并 Pull Request !165: Fix CVE-2024-32002 openEuler-20.03-LTS-SP4任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-sync-bot 通过合并 Pull Request !161: [sync] PR-157: Fix CVE-2024-32002任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
qiaojijun 通过合并 Pull Request !162: Fix CVE-2024-32002 openEuler-20.03-LTS任务状态待办的 修改为已完成 11个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
11个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
11个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
11个月前
openeuler-ci-bot 计划开始日期设置为2024-05-20 11个月前
openeuler-ci-bot 计划截止日期设置为2024-05-27 11个月前
openeuler-ci-bot 优先级设置为严重 11个月前
openeuler-ci-bot 修改了描述 11个月前

登录 后才可以发表评论

状态
负责人
项目
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(2)
5329419 openeuler ci bot 1632792936 fly_fzc-fly_fzc
1
https://gitee.com/src-openeuler/git.git
git@gitee.com:src-openeuler/git.git
src-openeuler
git
git

搜索帮助