• 公告ID (KylinSec-SA-2025-2707)

摘要:

git security update

安全等级: High

公告ID: KylinSec-SA-2025-2707

发布日期: 2025年7月17日

关联CVE: CVE-2025-48386   CVE-2025-48384  

  • 详细介绍

1. 漏洞描述

   

Security Fix(es):

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.(CVE-2025-48384)

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.(CVE-2025-48386)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2025-48386 KY3.4-5A git Fixed
CVE-2025-48384 KY3.4-5A git Fixed

3. 影响组件

    git

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
git-email noarch 2.27.0-25.kb1.ky3_4
git-gui noarch 2.27.0-25.kb1.ky3_4
git-help noarch 2.27.0-25.kb1.ky3_4
git-svn noarch 2.27.0-25.kb1.ky3_4
git-web noarch 2.27.0-25.kb1.ky3_4
gitk noarch 2.27.0-25.kb1.ky3_4
perl-Git noarch 2.27.0-25.kb1.ky3_4
perl-Git-SVN noarch 2.27.0-25.kb1.ky3_4
git x86_64 2.27.0-25.kb1.ky3_4
git-daemon x86_64 2.27.0-25.kb1.ky3_4
git aarch64 2.27.0-25.kb1.ky3_4
git-daemon aarch64 2.27.0-25.kb1.ky3_4

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     git-email   

     git-gui   

     git-help   

     git-svn   

     git-web   

     gitk   

     perl-Git   

     perl-Git-SVN   

     git   

     git-daemon   

aarch64:

     git-email   

     git-gui   

     git-help   

     git-svn   

     git-web   

     gitk   

     perl-Git   

     perl-Git-SVN   

     git   

     git-daemon   

上一篇:KylinSec-SA-2025-2706 下一篇:KylinSec-SA-2025-2711