公告ID(KYSA-202207-0011)
公告ID:KYSA-202207-0011
公告摘要:git安全漏洞
等级:重要
发布日期:2023-08-07
详细介绍
1. 修复的CVE
CVE-2022-29187
Github Git是一套免费、开源的分布式版本控制系统。Github Git 存在安全漏洞,该漏洞源于可以绕过安全目录保护,以下产品和版本受到影响:Git 2.37.1、2.36.2、2.35.4、2.34.4、2.33.4、2.32.3、2.31.4 和 2.30.5 之前版本。
CVE-2022-24765
Git for Windows是Git groups的用于 Windows 的 Git。Git for Windows 存在代码问题漏洞,该漏洞源于在多用户计算机上不受信任的各方对同一硬盘具有写访问权限。
2. 受影响的操作系统及软件包
·银河麒麟桌面操作系统V10 SP1
x86_64 架构:
git-all、git-cvs、git-daemon-run、git-daemon-sysvinit、git-el、git-email、git-gui、git-man、git-mediawiki、git-svn、git、gitk、gitweb
arm64 架构:
git-all、git-cvs、git-daemon-run、git-daemon-sysvinit、git-el、git-email、git-gui、git-man、git-mediawiki、git-svn、git、gitk、gitweb
mips64el 架构:
git-all、git-cvs、git-daemon-run、git-daemon-sysvinit、git-el、git-email、git-gui、git-man、git-mediawiki、git-svn、git、gitk、gitweb
loongarch64 架构:
git-all、git-cvs、git-daemon-run、git-daemon-sysvinit、git-el、git-email、git-gui、git-man、git-mediawiki、git-svn、git、gitk、gitweb
3. 软件包修复版本
·银河麒麟桌面操作系统V10 SP1
1:2.25.1-1kylin3.10
4. 修复方法
方法一:升级安装
执行更新命令进行升级
$sudo apt update
$sudo apt install git
方法二:下载软件包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表升级相关的组件包。
$sudo dpkg -i /Path1/Package1 /Path2/Package2 /Path3/Package3……
注:Path 指软件包下载到本地的路径,Package指下载的软件包名称,多个软件包则以空格分开。
5. 软件包下载地址
银河麒麟桌面操作系统V10 SP1
x86_64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-all_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-cvs_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-run_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-sysvinit_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-el_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-email_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-gui_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-man_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-mediawiki_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-svn_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git_2.25.1-1kylin3.10_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitk_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitweb_2.25.1-1kylin3.10_all.deb
arm64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-all_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-cvs_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-run_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-sysvinit_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-el_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-email_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-gui_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-man_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-mediawiki_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-svn_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git_2.25.1-1kylin3.10_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitk_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitweb_2.25.1-1kylin3.10_all.deb
mips64el软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-all_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-cvs_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-run_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-sysvinit_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-el_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-email_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-gui_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-man_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-mediawiki_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-svn_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git_2.25.1-1kylin3.10_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitk_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitweb_2.25.1-1kylin3.10_all.deb
loongarch64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-all_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-cvs_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-run_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-daemon-sysvinit_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-el_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-email_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-gui_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-man_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-mediawiki_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git-svn_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/git_2.25.1-1kylin3.10_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitk_2.25.1-1kylin3.10_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/g/git/gitweb_2.25.1-1kylin3.10_all.deb
6. 修复验证
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。