公告ID(KYSA-202302-1069)
公告ID:KYSA-202302-1069
公告摘要:cryptsetup安全漏洞
等级:Moderate
发布日期:2023-02-17
详细介绍
1.修复的CVE
·CVE-2021-4122
描述:Cryptsetup是是一个实用程序,用于基于DMCrypt内核模块方便地设置磁盘加密。cryptsetup 存在安全漏洞,该漏洞源于软件对于数据真实性缺乏有效的验证。一个特别制作的LUKS头可以欺骗cryptsetup在设备恢复期间禁用加密。物理访问介质(如闪存盘)的攻击者可以利用这个漏洞迫使用户永久禁用该介质的加密层。
2.受影响的软件包
·银河麒麟高级服务器操作系统(兼容版) V10
·aarch64架构:
cryptsetup、cryptsetup-devel、cryptsetup-libs、cryptsetup-reencrypt、integritysetup、veritysetup
·x86_64架构:
cryptsetup、cryptsetup-devel、cryptsetup-libs、cryptsetup-reencrypt、integritysetup、veritysetup
3.软件包修复版本
·银河麒麟高级服务器操作系统(兼容版) V10 (aarch64、x86_64)
cryptsetup-2.3.7-2.el8或以上版本
cryptsetup-devel-2.3.7-2.el8或以上版本
cryptsetup-libs-2.3.7-2.el8或以上版本
cryptsetup-reencrypt-2.3.7-2.el8或以上版本
integritysetup-2.3.7-2.el8或以上版本
veritysetup-2.3.7-2.el8或以上版本
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-2021-4122:需要重启 cryptsetup 以使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统(兼容版) V10
cryptsetup(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/cryptsetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/cryptsetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/cryptsetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/cryptsetup-devel-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/cryptsetup-devel-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/cryptsetup-devel-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/cryptsetup-libs-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/cryptsetup-libs-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/cryptsetup-libs-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/integritysetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/integritysetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/integritysetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/aarch64/Packages/veritysetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/aarch64/Packages/veritysetup-2.3.7-2.el8.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/aarch64/Packages/veritysetup-2.3.7-2.el8.aarch64.rpm
cryptsetup(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-devel-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.i686.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-libs-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/cryptsetup-reencrypt-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/integritysetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/integritysetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/integritysetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/AppStream-updates/x86_64/Packages/veritysetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/BaseOS-updates/x86_64/Packages/veritysetup-2.3.7-2.el8.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/8U2/os/adv/lic/PowerTools-updates/x86_64/Packages/veritysetup-2.3.7-2.el8.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename