公告ID(KYSA-202405-1066)
公告ID:KYSA-202405-1066
公告摘要:libvirt安全漏洞
等级:Important
发布日期:2024-05-21
详细介绍
1.修复的CVE
·CVE-2024-1441
描述:libvirt是一个用于实现Linux虚拟化功能的Linux API,它支持各种Hypervisor,包括Xen和KVM,以及QEMU和用于其他操作系统的一些虚拟产品。
libvirt存在安全漏洞。攻击者利用该漏洞导致进程崩溃。
·CVE-2024-2494
描述:libvirt是一个用于实现Linux虚拟化功能的Linux API,它支持各种Hypervisor,包括Xen和KVM,以及QEMU和用于其他操作系统的一些虚拟产品。
libvirt存在安全漏洞,该漏洞源于RPC库的API存在安全漏洞,将负长度传递给g_new0函数会导致崩溃。攻击者可利用该漏洞执行拒绝服务(DOS)攻击。
·CVE-2024-2496
描述:libvirt是一个用于实现Linux虚拟化功能的Linux API,它支持各种Hypervisor,包括Xen和KVM,以及QEMU和用于其他操作系统的一些虚拟产品。
libvirt存在代码问题漏洞,该漏洞源于udevConnectListAllInterfaces() 函数中存在 NULL 指针取消引用问题,当分离主机接口并通过virConnectListAllInterfaces API 收集接口列表时,可能导致 libvirt 守护进程崩溃。
2.受影响的软件包
·银河麒麟高级服务器操作系统 V10 SP2
·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 SP2 (aarch64、x86_64)
libvirt-6.2.0-13.p06.ky10或以上版本
libvirt-admin-6.2.0-13.p06.ky10或以上版本
libvirt-bash-completion-6.2.0-13.p06.ky10或以上版本
libvirt-client-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-config-network-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-config-nwfilter-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-interface-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-network-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-nodedev-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-nwfilter-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-qemu-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-secret-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-core-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-disk-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-gluster-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-iscsi-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-iscsi-direct-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-logical-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-mpath-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-rbd-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-driver-storage-scsi-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-kvm-6.2.0-13.p06.ky10或以上版本
libvirt-daemon-qemu-6.2.0-13.p06.ky10或以上版本
libvirt-devel-6.2.0-13.p06.ky10或以上版本
libvirt-docs-6.2.0-13.p06.ky10或以上版本
libvirt-libs-6.2.0-13.p06.ky10或以上版本
libvirt-lock-sanlock-6.2.0-13.p06.ky10或以上版本
libvirt-nss-6.2.0-13.p06.ky10或以上版本
libvirt-wireshark-6.2.0-13.p06.ky10或以上版本
4.修复方法
方法一:配置源进行升级安装
1.打开软件包源配置文件,根据仓库地址进行修改。
仓库源地址:
银河麒麟高级服务器操作系统 V10 SP2
aarch64:https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/
2.配置完成后执行更新命令进行升级,命令如下:
yum update Packagename
方法二:下载安装包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包
列表进行升级安装, 命令如下:
yum install Packagename
3.升级完成后是否需要重启服务或操作系统:
CVE-2024-1441:无需重启操作系统与服务即可使漏洞修复生效。
CVE-2024-2494:无需重启操作系统与服务即可使漏洞修复生效。
CVE-2024-2496:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统 V10 SP2
libvirt(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-admin-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-bash-completion-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-client-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-config-network-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-config-nwfilter-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-interface-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-network-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-nodedev-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-nwfilter-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-qemu-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-secret-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-core-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-disk-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-gluster-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-iscsi-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-iscsi-direct-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-logical-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-mpath-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-rbd-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-driver-storage-scsi-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-kvm-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-daemon-qemu-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-devel-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-docs-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-libs-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-lock-sanlock-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-nss-6.2.0-13.p06.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/libvirt-wireshark-6.2.0-13.p06.ky10.aarch64.rpm
libvirt(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-admin-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-bash-completion-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-client-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-config-network-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-config-nwfilter-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-interface-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-network-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-nodedev-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-nwfilter-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-qemu-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-secret-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-core-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-disk-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-gluster-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-iscsi-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-iscsi-direct-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-logical-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-mpath-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-rbd-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-driver-storage-scsi-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-kvm-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-daemon-qemu-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-devel-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-docs-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-libs-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-lock-sanlock-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-nss-6.2.0-13.p06.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/libvirt-wireshark-6.2.0-13.p06.ky10.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename