12 Star 0 Fork 36

src-openEuler / git

 / 详情

CVE-2023-23946

已完成
CVE和安全问题 拥有者
创建于  
2023-02-15 04:10

一、漏洞信息
漏洞编号:CVE-2023-23946
漏洞归属组件:git
漏洞归属的版本:2.27.0,2.30.0,2.33.0,2.36.1,2.38.1,2.39.1
CVSS V3.0分值:
BaseScore:7.5 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
漏洞简述:
Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to git apply, a path outside the working tree can be overwritten as the user who is running git apply. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workaround, use git apply --stat to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.
漏洞公开时间:2023-02-15 04:15:00
漏洞创建时间:2023-02-15 04:10:30
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-23946

更多参考(点击展开)
参考来源 参考链接 来源链接
nvd https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd
nvd https://github.com/git/git/security/advisories/GHSA-r87m-v37r-cwfh
redhat https://access.redhat.com/security/cve/CVE-2023-23946
ubuntu https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23946 https://ubuntu.com/security/CVE-2023-23946
ubuntu https://ubuntu.com/security/notices/USN-5871-1 https://ubuntu.com/security/CVE-2023-23946
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2023-23946 https://ubuntu.com/security/CVE-2023-23946
ubuntu https://launchpad.net/bugs/cve/CVE-2023-23946 https://ubuntu.com/security/CVE-2023-23946
ubuntu https://security-tracker.debian.org/tracker/CVE-2023-23946 https://ubuntu.com/security/CVE-2023-23946
debian https://security-tracker.debian.org/tracker/CVE-2023-23946
git https://github.com/git/git/security/advisories/GHSA-r87m-v37r-cwfh
nvd https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd
nvd https://github.com/git/git/security/advisories/GHSA-r87m-v37r-cwfh

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/git/git/commit/c867e4fa180bec4750e9b54eb10f459030dbebfd nvd

二、漏洞分析结构反馈
影响性分析说明:
通过向 git apply 提供精心设计的输入,作为运行 git apply 的用户可以覆盖到工作树之外的路径。
openEuler评分:
6.2
Vector:CVSS:2.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.27.0):受影响
2.openEuler-20.03-LTS-SP3(2.27.0):受影响
3.openEuler-22.03-LTS(2.33.0):受影响
4.openEuler-22.03-LTS-SP1(2.33.0):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(2.27.0):否
2.openEuler-20.03-LTS-SP3(2.27.0):否
3.openEuler-22.03-LTS(2.33.0):否
4.openEuler-22.03-LTS-SP1(2.33.0):否

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

评论 (8)

openeuler-ci-bot 创建了CVE和安全问题
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
展开全部操作日志

@谢志鹏 ,@hexiaowen ,@zhujianwei001 ,@syyhao ,@Monday ,@licunlong ,@chenjiayi ,@const ,@xujing ,@陈棋德
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.27.0):
2.openEuler-20.03-LTS-SP3(2.27.0):
3.openEuler-22.03-LTS(2.33.0):
4.openEuler-22.03-LTS-SP1(2.33.0):

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(2.27.0):
2.openEuler-20.03-LTS-SP3(2.27.0):
3.openEuler-22.03-LTS(2.33.0):
4.openEuler-22.03-LTS-SP1(2.33.0):


issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @谢志鹏 , @hexiaowen , @zhujianwei001 , @syyhao , @Monday , @licunlong , @chenjiayi , @const , @xujing , @陈棋德

openeuler-ci-bot 添加了
 
sig/Base-service
标签
openeuler-ci-bot 修改了描述
openeuler-ci-bot 修改了描述
zhaotianyang 负责人谢志鹏 修改为付安安
付安安 通过src-openeuler/git Pull Request !101任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@付安安 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Base-service
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Base-service
标签
付安安 通过src-openeuler/git Pull Request !102任务状态待办的 修改为已完成

@付安安 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 任务状态已完成 修改为待办的
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Base-service
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Base-service
标签
付安安 通过src-openeuler/git Pull Request !103任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@付安安 请确认分支: openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1 受影响/不受影响.
请确认分支信息是否填写完整,否则将无法关闭当前issue.

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Base-service
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Base-service
标签

影响性分析说明:
通过向'git apply'提供精心设计的输入,作为运行'git apply'的用户可以覆盖到工作树之外的路径。

openEuler评分:
Base Score: 6.2 MEDIUM
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.27.0):受影响
2.openEuler-20.03-LTS-SP3(2.27.0):受影响
3.openEuler-22.03-LTS(2.33.0):受影响
4.openEuler-22.03-LTS-SP1(2.33.0):受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(2.27.0):否
2.openEuler-20.03-LTS-SP3(2.27.0):否
3.openEuler-22.03-LTS(2.33.0):否
4.openEuler-22.03-LTS-SP1(2.33.0):否

openeuler-ci-bot 修改了描述

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

状态 需分析 内容
已分析 1.影响性分析说明 通过向'git apply'提供精心设计的输入,作为运行'git apply'的用户可以覆盖到工作树之外的路径。
已分析 2.openEulerScore 6.2
已分析 2.openEulerVector AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
已分析 3.受影响版本排查 openEuler-20.03-LTS-SP1:受影响,openEuler-20.03-LTS-SP3:受影响,openEuler-22.03-LTS:受影响,openEuler-22.03-LTS-SP1:受影响
已分析 4.修复是否涉及abi变化 openEuler-20.03-LTS-SP1:否,openEuler-20.03-LTS-SP3:否,openEuler-22.03-LTS:否,openEuler-22.03-LTS-SP1:否

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

openeuler-sync-bot 通过src-openeuler/git Pull Request !107任务状态待办的 修改为已完成
openeuler-ci-bot 任务状态已完成 修改为待办的

@hexiaowen ,@zhujianwei001 ,@谢志鹏 ,@hanxinke ,@Monday ,@朱春意 ,@BigSkySea ,@Basic ,@chenjialong ,@张洋 ,@Lv Ying ,@openeuler-sync-bot
关闭issue前,需要将受影响的分支在合并pr时关联上当前issue编号: #I6F4QL:CVE-2023-23946
受影响分支: openEuler-20.03-LTS-SP1/openEuler-20.03-LTS-SP3
具体操作参考: https://gitee.com/help/articles/4142

openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Base-service
标签
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
openeuler-ci-bot 添加了
 
sig/Base-service
标签
openeuler-ci-bot 修改了描述
付安安 通过src-openeuler/git Pull Request !104任务状态待办的 修改为已完成
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
openeuler-ci-bot 移除了
 
sig/Base-service
标签
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
openeuler-ci-bot 添加了
 
sig/Base-service
标签
openeuler-ci-bot 修改了描述
openeuler-ci-bot 计划开始日期设置为2023-02-15
openeuler-ci-bot 计划截止日期设置为2023-03-17
openeuler-ci-bot 优先级设置为主要

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/git.git
git@gitee.com:src-openeuler/git.git
src-openeuler
git
git

搜索帮助