1.修复的CVE
·CVE-2021-2161
描述:Oracle Java SE Embedded是美国甲骨文(Oracle)公司的一款针对嵌入式系统的、可移植的应用程序的Java平台。Java SE Embedded: 8u281 存在输入验证错误漏洞,该漏洞源于Oracle GraalVM Enterprise Edition中的Libraries组件的输入验证不正确。
·CVE-2021-2163
描述:Oracle Java SE Embedded是美国甲骨文(Oracle)公司的一款针对嵌入式系统的、可移植的应用程序的Java平台。Java SE Embedded 8u281 存在输入验证错误漏洞,该漏洞源于Oracle GraalVM Enterprise Edition中的Libraries组件的输入验证不正确。
2.受影响的软件包
·银河麒麟高级服务器操作系统 V10 SP2
aarch64架构:
java-1.8.0-openjdk、java-1.8.0-openjdk-accessibility、java-1.8.0-openjdk-accessibility-slowdebug、java-1.8.0-openjdk-demo、java-1.8.0-openjdk-demo-slowdebug、java-1.8.0-openjdk-devel、java-1.8.0-openjdk-devel-slowdebug、java-1.8.0-openjdk-headless、java-1.8.0-openjdk-headless-slowdebug、java-1.8.0-openjdk-javadoc、java-1.8.0-openjdk-javadoc-zip、java-1.8.0-openjdk-openjfx、java-1.8.0-openjdk-openjfx-devel、java-1.8.0-openjdk-openjfx-devel-slowdebug、java-1.8.0-openjdk-openjfx-slowdebug、java-1.8.0-openjdk-slowdebug、java-1.8.0-openjdk-src、java-1.8.0-openjdk-src-slowdebug
x86_64架构:
java-1.8.0-openjdk、java-1.8.0-openjdk-accessibility、java-1.8.0-openjdk-accessibility-slowdebug、java-1.8.0-openjdk-demo、java-1.8.0-openjdk-demo-slowdebug、java-1.8.0-openjdk-devel、java-1.8.0-openjdk-devel-slowdebug、java-1.8.0-openjdk-headless、java-1.8.0-openjdk-headless-slowdebug、java-1.8.0-openjdk-javadoc、java-1.8.0-openjdk-javadoc-zip、java-1.8.0-openjdk-openjfx、java-1.8.0-openjdk-openjfx-devel、java-1.8.0-openjdk-openjfx-devel-slowdebug、java-1.8.0-openjdk-openjfx-slowdebug、java-1.8.0-openjdk-slowdebug、java-1.8.0-openjdk-src、java-1.8.0-openjdk-src-slowdebug
3.软件包修复版本
·银河麒麟高级服务器操作系统 V10 SP2
java-1.8.0-openjdk-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-accessibility-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-accessibility-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-demo-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-demo-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-devel-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-devel-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-headless-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-headless-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-javadoc-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-javadoc-zip-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-openjfx-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-openjfx-devel-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-openjfx-devel-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-openjfx-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-slowdebug-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-src-1.8.0.292.b10-8.ky10
java-1.8.0-openjdk-src-slowdebug-1.8.0.292.b10-8.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-2021-2161:无需重启操作系统与服务即可使漏洞修复生效。
·CVE-2021-2163:无需重启操作系统与服务即可使漏洞修复生效。
5.软件包下载地址
·银河麒麟高级服务器操作系统 V10 SP2
java-1.8.0-openjdk(aarch64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-accessibility-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-accessibility-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-demo-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-demo-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-devel-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-devel-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-headless-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-headless-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-javadoc-1.8.0.292.b10-8.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-javadoc-zip-1.8.0.292.b10-8.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-openjfx-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-openjfx-devel-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-openjfx-devel-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-openjfx-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-src-1.8.0.292.b10-8.ky10.aarch64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/aarch64/Packages/java-1.8.0-openjdk-src-slowdebug-1.8.0.292.b10-8.ky10.aarch64.rpm
java-1.8.0-openjdk(x86_64)软件包下载地址:
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-accessibility-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-accessibility-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-demo-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-demo-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-devel-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-devel-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-headless-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-headless-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-javadoc-1.8.0.292.b10-8.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-javadoc-zip-1.8.0.292.b10-8.ky10.noarch.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-openjfx-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-openjfx-devel-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-openjfx-devel-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-openjfx-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-src-1.8.0.292.b10-8.ky10.x86_64.rpm
https://update.cs2c.com.cn/NS/V10/V10SP2/os/adv/lic/updates/x86_64/Packages/java-1.8.0-openjdk-src-slowdebug-1.8.0.292.b10-8.ky10.x86_64.rpm
注:其他相关依赖包请到相同目录下载
6.修复验证
使用软件包查询命令,查看相关软件包版本是否与修复版本一致,如果版本一致,则说明修复成功。
sudo rpm -qa | grep Packagename