公告ID(KYSA-202311-1119)
公告ID:KYSA-202311-1119
公告摘要:ncurses安全漏洞
等级:Important
发布日期:2023-11-28
详细介绍
1.修复的CVE
·CVE-2023-29491
描述:ncurses是一个字符终端处理库,它能够提供一系列函数以供用户调用并生成基于文本的用户界面。
ncurses 6.4 20230408之前版本存在安全漏洞。攻击者利用该漏洞导致内存损坏。
2.受影响的软件包
·银河麒麟高级服务器操作系统 V10 HPC
·aarch64架构:
ncurses、ncurses-base、ncurses-compat-libs、ncurses-devel、ncurses-help、ncurses-libs、ncurses-relocation、ncurses-static
·x86_64架构:
ncurses、ncurses-base、ncurses-compat-libs、ncurses-devel、ncurses-help、ncurses-libs、ncurses-relocation、ncurses-static
·银河麒麟云底座操作系统 V10
·aarch64架构:
ncurses、ncurses-base、ncurses-compat-libs、ncurses-devel、ncurses-help、ncurses-libs、ncurses-relocation、ncurses-static
·x86_64架构:
ncurses、ncurses-base、ncurses-compat-libs、ncurses-devel、ncurses-help、ncurses-libs、ncurses-relocation、ncurses-static
3.软件包修复版本
·银河麒麟高级服务器操作系统 V10 HPC (aarch64、x86_64)
ncurses-6.3-12.p01.ky10h或以上版本
ncurses-base-6.3-12.p01.ky10h或以上版本
ncurses-compat-libs-6.3-12.p01.ky10h或以上版本
ncurses-devel-6.3-12.p01.ky10h或以上版本
ncurses-help-6.3-12.p01.ky10h或以上版本
ncurses-libs-6.3-12.p01.ky10h或以上版本
ncurses-relocation-6.3-12.p01.ky10h或以上版本
ncurses-static-6.3-12.p01.ky10h或以上版本
·银河麒麟云底座操作系统 V10 (aarch64、x86_64)
ncurses-6.3-12.p01.ky10h或以上版本
ncurses-base-6.3-12.p01.ky10h或以上版本
ncurses-compat-libs-6.3-12.p01.ky10h或以上版本
ncurses-devel-6.3-12.p01.ky10h或以上版本
ncurses-help-6.3-12.p01.ky10h或以上版本
ncurses-libs-6.3-12.p01.ky10h或以上版本
ncurses-relocation-6.3-12.p01.ky10h或以上版本
ncurses-static-6.3-12.p01.ky10h或以上版本
4.修复方法
方法一:配置源进行升级安装
1.打开软件包源配置文件,根据仓库地址进行修改。
仓库源地址:
银河麒麟高级服务器操作系统 V10 HPC
aarch64:https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/
x86_64:https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/
银河麒麟云底座操作系统 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-2023-29491:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统 V10 HPC
ncurses(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-base-6.3-12.p01.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-compat-libs-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-devel-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-help-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-libs-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-relocation-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/aarch64/Packages/ncurses-static-6.3-12.p01.ky10h.aarch64.rpm
ncurses(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-base-6.3-12.p01.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-compat-libs-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-devel-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-help-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-libs-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-relocation-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/HPC/os/adv/lic/updates/x86_64/Packages/ncurses-static-6.3-12.p01.ky10h.x86_64.rpm
·银河麒麟云底座操作系统 V10
ncurses(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-base-6.3-12.p01.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-compat-libs-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-devel-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-help-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-libs-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-relocation-6.3-12.p01.ky10h.aarch64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/aarch64/Packages/ncurses-static-6.3-12.p01.ky10h.aarch64.rpm
ncurses(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-base-6.3-12.p01.ky10h.noarch.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-compat-libs-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-devel-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-help-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-libs-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-relocation-6.3-12.p01.ky10h.x86_64.rpm
https://update.cs2c.com.cn/NS/HOST/2309/os/adv/lic/updates/x86_64/Packages/ncurses-static-6.3-12.p01.ky10h.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename