公告ID(KYSA-202406-1054)
公告ID:KYSA-202406-1054
公告摘要:libvirt安全漏洞
等级:Moderate
发布日期:2024-06-18
详细介绍
1.修复的CVE
·CVE-2024-4418
描述: libvirt是一个用于实现Linux虚拟化功能的Linux API,它支持各种Hypervisor,包括Xen和KVM,以及QEMU和用于其他操作系统的一些虚拟产品。
libvirt 6.2.0版本存在资源管理错误漏洞,该漏洞源于存在堆栈释放后重用,允许本地非特权用户无需身份验证即可访问virtproxyd。
2.受影响的软件包
·银河麒麟云底座操作系统 V10
·aarch64架构:
libvirt、libvirt-admin、libvirt-bash-completion、libvirt-client、libvirt-daemon、libvirt-daemon-config-network、libvirt-daemon-config-nwfilter、libvirt-daemon-driver-interface、libvirt-daemon-driver-network、libvirt-daemon-driver-nodedev、libvirt-daemon-driver-nwfilter、libvirt-daemon-driver-qemu、libvirt-daemon-driver-secret、libvirt-daemon-driver-storage、libvirt-daemon-driver-storage-core、libvirt-daemon-driver-storage-disk、libvirt-daemon-driver-storage-gluster、libvirt-daemon-driver-storage-iscsi、libvirt-daemon-driver-storage-iscsi-direct、libvirt-daemon-driver-storage-logical、libvirt-daemon-driver-storage-mpath、libvirt-daemon-driver-storage-rbd、libvirt-daemon-driver-storage-scsi、libvirt-daemon-kvm、libvirt-daemon-qemu、libvirt-devel、libvirt-docs、libvirt-libs、libvirt-lock-sanlock、libvirt-nss、libvirt-wireshark
·x86_64架构:
libvirt、libvirt-admin、libvirt-bash-completion、libvirt-client、libvirt-daemon、libvirt-daemon-config-network、libvirt-daemon-config-nwfilter、libvirt-daemon-driver-interface、libvirt-daemon-driver-network、libvirt-daemon-driver-nodedev、libvirt-daemon-driver-nwfilter、libvirt-daemon-driver-qemu、libvirt-daemon-driver-secret、libvirt-daemon-driver-storage、libvirt-daemon-driver-storage-core、libvirt-daemon-driver-storage-disk、libvirt-daemon-driver-storage-gluster、libvirt-daemon-driver-storage-iscsi、libvirt-daemon-driver-storage-iscsi-direct、libvirt-daemon-driver-storage-logical、libvirt-daemon-driver-storage-mpath、libvirt-daemon-driver-storage-rbd、libvirt-daemon-driver-storage-scsi、libvirt-daemon-kvm、libvirt-daemon-qemu、libvirt-devel、libvirt-docs、libvirt-libs、libvirt-lock-sanlock、libvirt-nss、libvirt-wireshark
3.软件包修复版本
·银河麒麟云底座操作系统 V10 (aarch64、x86_64)
libvirt-6.2.0-58.p05.ky10h或以上版本
libvirt-admin-6.2.0-58.p05.ky10h或以上版本
libvirt-bash-completion-6.2.0-58.p05.ky10h或以上版本
libvirt-client-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-config-network-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-config-nwfilter-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-interface-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-network-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-nodedev-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-nwfilter-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-qemu-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-secret-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-core-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-disk-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-gluster-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-iscsi-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-iscsi-direct-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-logical-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-mpath-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-rbd-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-driver-storage-scsi-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-kvm-6.2.0-58.p05.ky10h或以上版本
libvirt-daemon-qemu-6.2.0-58.p05.ky10h或以上版本
libvirt-devel-6.2.0-58.p05.ky10h或以上版本
libvirt-docs-6.2.0-58.p05.ky10h或以上版本
libvirt-libs-6.2.0-58.p05.ky10h或以上版本
libvirt-lock-sanlock-6.2.0-58.p05.ky10h或以上版本
libvirt-nss-6.2.0-58.p05.ky10h或以上版本
libvirt-wireshark-6.2.0-58.p05.ky10h或以上版本
4.修复方法
方法一:配置源进行升级安装
1.打开软件包源配置文件,根据仓库地址进行修改。
仓库源地址:
银河麒麟云底座操作系统 V10
aarch64:https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/
2.配置完成后执行更新命令进行升级,命令如下:
yum update Packagename
方法二:下载安装包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包
列表进行升级安装, 命令如下:
yum install Packagename
3.升级完成后是否需要重启服务或操作系统:
CVE-2024-4418:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟云底座操作系统 V10
libvirt(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-admin-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-bash-completion-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-client-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-config-network-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-config-nwfilter-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-interface-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-network-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-nodedev-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-nwfilter-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-qemu-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-secret-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-core-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-disk-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-gluster-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-iscsi-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-iscsi-direct-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-logical-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-mpath-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-rbd-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-scsi-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-kvm-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-qemu-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-devel-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-docs-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-libs-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-lock-sanlock-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-nss-6.2.0-58.p05.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/libvirt-wireshark-6.2.0-58.p05.ky10h.aarch64.rpm
libvirt(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-admin-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-bash-completion-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-client-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-config-network-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-config-nwfilter-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-interface-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-network-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-nodedev-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-nwfilter-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-qemu-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-secret-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-core-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-disk-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-gluster-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-iscsi-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-iscsi-direct-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-logical-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-mpath-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-rbd-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-scsi-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-kvm-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-qemu-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-devel-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-docs-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-libs-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-lock-sanlock-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-nss-6.2.0-58.p05.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/libvirt-wireshark-6.2.0-58.p05.ky10h.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename