公告ID(KYSA-202302-1149)
公告ID:KYSA-202302-1149
公告摘要:systemd安全漏洞
等级:Moderate
发布日期:2023-02-28
详细介绍
1.修复的CVE
·CVE-2020-13776
描述:在systemd中发现了一个缺陷,它错误地处理了以十进制数字开头的或以十六进制数字“0x”结尾的用户名。当systemd使用这样用户名时,例如在服务单元中,可能会导致使用意外用户。在某些特定配置中,该漏洞允许本地攻击者提升其权限。
2.受影响的软件包
·银河麒麟高级服务器操作系统 V10 SP1
·aarch64架构:
systemd、systemd-container、systemd-devel、systemd-help、systemd-journal-remote、systemd-libs、systemd-udev、systemd-udev-compat
·x86_64架构:
systemd、systemd-container、systemd-devel、systemd-help、systemd-journal-remote、systemd-libs、systemd-udev、systemd-udev-compat
·银河麒麟高级服务器操作系统 V10 SP2
·aarch64架构:
systemd、systemd-container、systemd-devel、systemd-help、systemd-journal-remote、systemd-libs、systemd-udev、systemd-udev-compat
·x86_64架构:
systemd、systemd-container、systemd-devel、systemd-help、systemd-journal-remote、systemd-libs、systemd-udev、systemd-udev-compat
3.软件包修复版本
·银河麒麟高级服务器操作系统 V10 SP1 (aarch64、x86_64)
systemd-243-31.se.p09.ky10或以上版本
systemd-container-243-31.se.p09.ky10或以上版本
systemd-devel-243-31.se.p09.ky10或以上版本
systemd-help-243-31.se.p09.ky10或以上版本
systemd-journal-remote-243-31.se.p09.ky10或以上版本
systemd-libs-243-31.se.p09.ky10或以上版本
systemd-udev-243-31.se.p09.ky10或以上版本
systemd-udev-compat-243-31.se.p09.ky10或以上版本
·银河麒麟高级服务器操作系统 V10 SP2 (aarch64、x86_64)
systemd-243-31.se.p09.ky10或以上版本
systemd-container-243-31.se.p09.ky10或以上版本
systemd-devel-243-31.se.p09.ky10或以上版本
systemd-help-243-31.se.p09.ky10或以上版本
systemd-journal-remote-243-31.se.p09.ky10或以上版本
systemd-libs-243-31.se.p09.ky10或以上版本
systemd-udev-243-31.se.p09.ky10或以上版本
systemd-udev-compat-243-31.se.p09.ky10或以上版本
4.修复方法
方法一:配置源进行升级安装
1.打开软件包源配置文件,根据仓库地址进行修改。
仓库源地址:
银河麒麟高级服务器操作系统 V10 SP1
aarch64:https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/
银河麒麟高级服务器操作系统 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-2020-13776:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统 V10 SP1
systemd(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-container-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-devel-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-help-243-31.se.p09.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-journal-remote-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-libs-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-udev-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/aarch64/Packages/systemd-udev-compat-243-31.se.p09.ky10.aarch64.rpm
systemd(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-container-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-devel-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-help-243-31.se.p09.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-journal-remote-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-libs-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-udev-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP1.1/os/adv/lic/updates/x86_64/Packages/systemd-udev-compat-243-31.se.p09.ky10.x86_64.rpm
·银河麒麟高级服务器操作系统 V10 SP2
systemd(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-container-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-devel-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-help-243-31.se.p09.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-journal-remote-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-libs-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-udev-243-31.se.p09.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/systemd-udev-compat-243-31.se.p09.ky10.aarch64.rpm
systemd(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-container-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-devel-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-help-243-31.se.p09.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-journal-remote-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-libs-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-udev-243-31.se.p09.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/systemd-udev-compat-243-31.se.p09.ky10.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename