公告ID(KYSA-202203-0017)
公告ID:KYSA-202203-0017
公告摘要:redis安全漏洞
等级:中等
发布日期:2023-05-05
详细介绍
1. 修复的CVE
CVE-2022-0543
Redis Labs Redis是美国Redis Labs公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。Redis 存在代码注入漏洞,攻击者可利用该漏洞远程执行代码。
2. 受影响的操作系统及软件包
·银河麒麟桌面操作系统V10 SP1
x86_64 架构:
redis-sentinel、redis-server、redis-tools、redis
arm64 架构:
redis-sentinel、redis-server、redis-tools、redis
mips64el 架构:
redis-sentinel、redis-server、redis-tools、redis
loongarch64 架构:
redis-sentinel、redis-server、redis-tools、redis
3. 软件包修复版本
·银河麒麟桌面操作系统V10 SP1
5:5.0.7-2kylin0.1
4. 修复方法
方法一:升级安装
执行更新命令进行升级
$sudo apt update
$sudo apt install redis
方法二:下载软件包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表升级相关的组件包。
$sudo dpkg -i /Path1/Package1 /Path2/Package2 /Path3/Package3……
注:Path 指软件包下载到本地的路径,Package指下载的软件包名称,多个软件包则以空格分开。
5. 软件包下载地址
银河麒麟桌面操作系统V10 SP1
x86_64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-sentinel_5.0.7-2kylin0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-server_5.0.7-2kylin0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-tools_5.0.7-2kylin0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis_5.0.7-2kylin0.1_all.deb
arm64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-sentinel_5.0.7-2kylin0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-server_5.0.7-2kylin0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-tools_5.0.7-2kylin0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis_5.0.7-2kylin0.1_all.deb
mips64el软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-sentinel_5.0.7-2kylin0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-server_5.0.7-2kylin0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-tools_5.0.7-2kylin0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis_5.0.7-2kylin0.1_all.deb
loongarch64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-sentinel_5.0.7-2kylin0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-server_5.0.7-2kylin0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis-tools_5.0.7-2kylin0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/r/redis/redis_5.0.7-2kylin0.1_all.deb
6. 修复验证
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。