安全漏洞

安全漏洞补丁公告

当前位置  >  首页  >  服务支持  >  安全漏洞  >  安全漏洞补丁公告

公告ID(KYSA-202507-1274

公告ID:KYSA-202507-1274 公告摘要:git安全漏洞 等级:重要 发布日期:2025-07-22

详细介绍

1.修复的漏洞 ·CVE-2025-48386 描述:Git存在安全漏洞,该漏洞源于未正确检查缓冲区中剩余的可用空间是否充足,这可能导致潜在的缓冲区溢出问题。 ·CVE-2025-48384 描述:Git 远程代码执行漏洞,该漏洞源于Git 的路径解析逻辑错误,攻击者通过在子模块路径中注入回车符篡改配置,导致用户递归克隆(git clone --recursive)时触发恶意钩子脚本,最终实现远程代码执行。 2.受影响的软件包 ·中标麒麟高级服务器操作系统 V7 ·x86_64架构: git、git-gui、git-svn、gitk、git-bzr、emacs-git-el、git-cvs、git-gnome-keyring、git-instaweb、emacs-git、git-email、perl-Git-SVN、perl-Git、gitweb、git-p4、git-all、git-hg、git-daemon ·aarch64架构: git、git-gui、git-svn、gitk、git-bzr、emacs-git-el、git-cvs、git-gnome-keyring、git-instaweb、emacs-git、git-email、perl-Git-SVN、perl-Git、gitweb、git-p4、git-all、git-hg、git-daemon ·银河麒麟高级服务器操作系统 V10 ·x86_64架构: git、git-gui、git-svn、gitk、git-bzr、emacs-git-el、git-cvs、git-gnome-keyring、git-instaweb、emacs-git、git-email、perl-Git-SVN、perl-Git、gitweb、git-p4、git-all、git-hg、git-daemon ·aarch64架构: git、git-gui、git-svn、gitk、git-bzr、emacs-git-el、git-cvs、git-gnome-keyring、git-instaweb、emacs-git、git-email、perl-Git-SVN、perl-Git、gitweb、git-p4、git-all、git-hg、git-daemon 3.软件包修复版本 ·中标麒麟高级服务器操作系统 V7 (x86_64、aarch64) git-1.8.3.1-25.el7_9.ns7.01或以上版本 perl-Git-1.8.3.1-25.el7_9.ns7.01或以上版本 git-svn-1.8.3.1-25.el7_9.ns7.01或以上版本 git-all-1.8.3.1-25.el7_9.ns7.01或以上版本 git-bzr-1.8.3.1-25.el7_9.ns7.01或以上版本 git-hg-1.8.3.1-25.el7_9.ns7.01或以上版本 perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01或以上版本 gitk-1.8.3.1-25.el7_9.ns7.01或以上版本 git-cvs-1.8.3.1-25.el7_9.ns7.01或以上版本 emacs-git-1.8.3.1-25.el7_9.ns7.01或以上版本 git-daemon-1.8.3.1-25.el7_9.ns7.01或以上版本 git-email-1.8.3.1-25.el7_9.ns7.01或以上版本 git-p4-1.8.3.1-25.el7_9.ns7.01或以上版本 gitweb-1.8.3.1-25.el7_9.ns7.01或以上版本 emacs-git-el-1.8.3.1-25.el7_9.ns7.01或以上版本 git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01或以上版本 git-gui-1.8.3.1-25.el7_9.ns7.01或以上版本 git-instaweb-1.8.3.1-25.el7_9.ns7.01或以上版本 ·银河麒麟高级服务器操作系统 V10 (x86_64、aarch64) git-1.8.3.1-25.el7_9.ns7.01或以上版本 perl-Git-1.8.3.1-25.el7_9.ns7.01或以上版本 git-svn-1.8.3.1-25.el7_9.ns7.01或以上版本 git-all-1.8.3.1-25.el7_9.ns7.01或以上版本 git-bzr-1.8.3.1-25.el7_9.ns7.01或以上版本 git-hg-1.8.3.1-25.el7_9.ns7.01或以上版本 perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01或以上版本 gitk-1.8.3.1-25.el7_9.ns7.01或以上版本 git-cvs-1.8.3.1-25.el7_9.ns7.01或以上版本 emacs-git-1.8.3.1-25.el7_9.ns7.01或以上版本 git-daemon-1.8.3.1-25.el7_9.ns7.01或以上版本 git-email-1.8.3.1-25.el7_9.ns7.01或以上版本 git-p4-1.8.3.1-25.el7_9.ns7.01或以上版本 gitweb-1.8.3.1-25.el7_9.ns7.01或以上版本 emacs-git-el-1.8.3.1-25.el7_9.ns7.01或以上版本 git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01或以上版本 git-gui-1.8.3.1-25.el7_9.ns7.01或以上版本 git-instaweb-1.8.3.1-25.el7_9.ns7.01或以上版本 4.修复方法 方法一:配置源进行升级安装 1.打开软件包源配置文件,根据仓库地址进行修改。 仓库源地址: 中标麒麟高级服务器操作系统 V7 x86_64:https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/ aarch64:https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/ 银河麒麟高级服务器操作系统 V10 x86_64:https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/ aarch64:https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/ 2.配置完成后执行更新命令进行升级,命令如下: yum update Packagename 方法二:下载安装包进行升级安装 通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包 列表进行升级安装, 命令如下: yum install Packagename 3.升级完成后是否需要重启服务或操作系统: CVE-2025-48386:无需重启操作系统与服务即可使漏洞修复生效。 CVE-2025-48384:无需重启操作系统与服务即可使漏洞修复生效。 5.软件包下载地址 ·中标麒麟高级服务器操作系统 V7 git(x86_64)软件包下载地址: https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/emacs-git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/emacs-git-el-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-all-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-bzr-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-cvs-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-daemon-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-email-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-gui-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-hg-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-instaweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-p4-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/git-svn-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/gitk-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/gitweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/perl-Git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/x86_64/Packages/perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01.noarch.rpm git(aarch64)软件包下载地址: https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/emacs-git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/emacs-git-el-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-all-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-bzr-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-cvs-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-daemon-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-email-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-gui-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-hg-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-instaweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-p4-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/git-svn-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/gitk-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/gitweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/perl-Git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V7/V7Update9/os/adv/lic/updates/aarch64/Packages/perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01.noarch.rpm ·银河麒麟高级服务器操作系统 V10 git(x86_64)软件包下载地址: https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/emacs-git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/emacs-git-el-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-all-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-bzr-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-cvs-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-daemon-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-email-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-gui-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-hg-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-instaweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-p4-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/git-svn-1.8.3.1-25.el7_9.ns7.01.x86_64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/gitk-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/gitweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/perl-Git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/x86_64/Packages/perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01.noarch.rpm git(aarch64)软件包下载地址: https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/emacs-git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/emacs-git-el-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-all-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-bzr-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-cvs-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-daemon-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-email-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-gnome-keyring-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-gui-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-hg-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-instaweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-p4-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/git-svn-1.8.3.1-25.el7_9.ns7.01.aarch64.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/gitk-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/gitweb-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/perl-Git-1.8.3.1-25.el7_9.ns7.01.noarch.rpm https://update.cs2c.com.cn/NS/V10/V10-ZJ/os/adv/lic/updates/aarch64/Packages/perl-Git-SVN-1.8.3.1-25.el7_9.ns7.01.noarch.rpm 注:其他相关依赖包请到相同目录下载 6.修复验证 使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。 sudo rpm -qa | grep Packagename
上一篇: KYSA-202507-1273 下一篇: KYSA-202507-1275

试用

服务

动态

联系