公告ID(KYSA-202302-1071)
公告ID:KYSA-202302-1071
公告摘要:device-mapper-multipath安全漏洞
等级:Important
发布日期:2023-02-17
详细介绍
1.修复的CVE
·CVE-2022-3787
描述:设备映射多路径存在漏洞。设备映射器多路径允许本地用户获得根访问权限,可以单独使用,也可以与CVE-2022-41973结合使用。能够写入UNIX域套接字的本地用户可以绕过访问控制并操作多路径设置。出现此问题是因为攻击者可以重复关键字,当使用算术ADD而不是按位OR时,该关键字会被错误处理。这可能导致本地权限升级到根权限。
·CVE-2022-41974
描述:设备映射多路径存在漏洞。设备映射器多路径允许本地用户获得根访问权限,可以单独使用,也可以与CVE-2022-41973结合使用。能够写入UNIX域套接字的本地用户可以绕过访问控制并操作多路径设置。出现此问题是因为攻击者可以重复关键字,当使用算术ADD而不是按位OR时,该关键字会被错误处理。这可能导致本地权限升级到根权限。
2.受影响的软件包
·银河麒麟高级服务器操作系统(兼容版) V10
·aarch64架构:
device-mapper-multipath、device-mapper-multipath-devel、device-mapper-multipath-libs、kpartx、libdmmp、libdmmp-devel
·x86_64架构:
device-mapper-multipath、device-mapper-multipath-devel、device-mapper-multipath-libs、kpartx、libdmmp、libdmmp-devel
3.软件包修复版本
·银河麒麟高级服务器操作系统(兼容版) V10 (aarch64、x86_64)
device-mapper-multipath-0.8.4-28.el8_7.1或以上版本
device-mapper-multipath-devel-0.8.4-28.el8_7.1或以上版本
device-mapper-multipath-libs-0.8.4-28.el8_7.1或以上版本
kpartx-0.8.4-28.el8_7.1或以上版本
libdmmp-0.8.4-28.el8_7.1或以上版本
libdmmp-devel-0.8.4-28.el8_7.1或以上版本
4.修复方法
方法一:配置源进行升级安装
1.打开软件包源配置文件,根据仓库地址进行修改。
仓库源地址:
银河麒麟高级服务器操作系统(兼容版) V10
aarch64:https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/
2.配置完成后执行更新命令进行升级,命令如下:
yum update Packagename
方法二:下载安装包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包
列表进行升级安装, 命令如下:
yum install Packagename
3.升级完成后是否需要重启服务或操作系统:
CVE-2022-3787:无需重启操作系统与服务即可使漏洞修复生效。
CVE-2022-41974:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统(兼容版) V10
device-mapper-multipath(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/kpartx-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/kpartx-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/kpartx-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/libdmmp-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/libdmmp-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/libdmmp-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.aarch64.rpm
device-mapper-multipath(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/device-mapper-multipath-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/device-mapper-multipath-devel-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/device-mapper-multipath-libs-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/kpartx-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/kpartx-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/kpartx-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/libdmmp-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/libdmmp-devel-0.8.4-28.el8_7.1.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename