Git for Windows 路径遍历漏洞(CVE-2023-25815)

admin 2023-11-30 02:23:44 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 Git for Windows 路径遍历漏洞(CVE-2023-25815)

CVE编号

CVE-2023-25815

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-04-26
漏洞描述
在 Git for Windows(Git 的 Windows 端口)中,安装程序不附带任何本地化消息。 因此,预计 Git 根本不会本地化消息,并跳过 gettext 初始化。 但是,由于 MINGW 包中的更改,`gettext()` 函数的隐式初始化不再使用运行时前缀,而是使用硬编码路径 `C:\mingw64\share\locale` 来查找本地化消息。 由于任何经过身份验证的用户都有权在 `C:\` 中创建文件夹(并且由于 `C:\mingw64` 通常不存在),低权限用户可能会在 `git .exe` 将在版本 2.40.1 中获取它们。 此漏洞相对难以利用,需要社会工程学。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://www.openwall.com/lists/oss-security/2023/04/25/2
https://axcheron.github.io/exploit-101-format-strings/
https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1
https://github.com/git-for-windows/git/security/advisories/GHSA-9w66-8mq8-5vm8
https://github.com/msys2/MINGW-packages/pull/10461
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 git_for_windows_project git_for_windows * Up to (excluding) 2.40.1
运行在以下环境
系统 alpine_3.14 git * Up to (excluding) 2.32.7-r0
运行在以下环境
系统 alpine_3.15 git * Up to (excluding) 2.34.8-r0
运行在以下环境
系统 alpine_3.16 git * Up to (excluding) 2.36.6-r0
运行在以下环境
系统 alpine_3.17 git * Up to (excluding) 2.38.5-r0
运行在以下环境
系统 alpine_3.18 git * Up to (excluding) 2.40.1-r0
运行在以下环境
系统 alpine_edge git * Up to (excluding) 2.40.1-r0
运行在以下环境
系统 anolis_os_8 gitk * Up to (excluding) 2.39.3-1.0.1
运行在以下环境
系统 centos_8 git-gui * Up to (excluding) 2.39.3-1.el8_8
运行在以下环境
系统 debian_10 git * Up to (including) 2.20.1-2+deb10u3
运行在以下环境
系统 debian_11 git * Up to (including) 2.30.2-1+deb11u2
运行在以下环境
系统 debian_12 git * Up to (including) 2.39.2-1.1
运行在以下环境
系统 debian_sid git * Up to (excluding) 1:2.40.1-1
运行在以下环境
系统 fedoraproject fedora 37 -
运行在以下环境
系统 fedoraproject fedora 38 -
运行在以下环境
系统 fedora_36 git-svn * Up to (excluding) 2.40.1-1.fc36
运行在以下环境
系统 fedora_37 git-svn * Up to (excluding) 2.40.1-1.fc37
运行在以下环境
系统 fedora_38 git-svn * Up to (excluding) 2.40.1-1.fc38
运行在以下环境
系统 kylinos_aarch64_V10SP2 git * Up to (excluding) 2.27.0-14.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 git * Up to (excluding) 2.27.0-14.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 git * Up to (excluding) 2.27.0-14.ky10
运行在以下环境
系统 opensuse_Leap_15.4 git * Up to (excluding) 2.35.3-150300.10.27.1
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 2.39.3-1.el8_8
运行在以下环境
系统 oracle_9 oraclelinux-release * Up to (excluding) 2.39.3-1.el9_2
运行在以下环境
系统 redhat_8 git-gui * Up to (excluding) 2.39.3-1.el8_8
运行在以下环境
系统 redhat_9 git-daemon * Up to (excluding) 2.39.3-1.el9_2
运行在以下环境
系统 suse_12_SP5 git-core * Up to (excluding) 2.26.2-27.69.1
运行在以下环境
系统 ubuntu_18.04 git * Up to (excluding) 1:2.17.1-1ubuntu0.18
运行在以下环境
系统 ubuntu_20.04 git * Up to (excluding) 1:2.25.1-1ubuntu3.11
运行在以下环境
系统 ubuntu_22.04 git * Up to (excluding) 1:2.34.1-1ubuntu1.9
运行在以下环境
系统 ubuntu_22.10 git * Up to (excluding) 1:2.37.2-1ubuntu1.5
运行在以下环境
系统 unionos_a git * Up to (excluding) git-2.39.3-1.uelc20.01
运行在以下环境
系统 unionos_e git * Up to (excluding) git-2.27.0-17.uel20
阿里云评分 2.2
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-134 使用外部控制的格式字符串
CWE-22 对路径名的限制不恰当(路径遍历)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0