redislabs redis 整数溢出或超界折返

admin 2023-12-01 16:03:28 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 redislabs redis 整数溢出或超界折返

CVE编号

CVE-2021-21309

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-02-27
漏洞描述
Redis is an open-source, in-memory database that persists on disk. In affected versions of Redis an integer overflow bug in 32-bit Redis version 4.0 or newer could be exploited to corrupt the heap and potentially result with remote code execution. Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. By default, it is 512MB which is a safe value for all platforms. If the limit is significantly increased, receiving a large request from a client may trigger several integer overflow scenarios, which would result with buffer overflow and heap corruption. We believe this could in certain conditions be exploited for remote code execution. By default, authenticated Redis users have access to all configuration parameters and can therefore use the “CONFIG SET proto-max-bulk-len” to change the safe default, making the system vulnerable. **This problem only affects 32-bit Redis (on a 32-bit system, or as a 32-bit executable running on a 64-bit system).** The problem is fixed in version 6.2, and the fix is back ported to 6.0.11 and 5.0.11. Make sure you use one of these versions if you are running 32-bit Redis. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent clients from directly executing `CONFIG SET`: Using Redis 6.0 or newer, ACL configuration can be used to block the command. Using older versions, the `rename-command` configuration directive can be used to rename the command to a random string unknown to users, rendering it inaccessible. Please note that this workaround may have an additional impact on users or operational systems that expect `CONFIG SET` to behave in certain ways.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/redis/redis/commit/c992857618db99776917f10bf4f2345a5fdc78b0
https://github.com/redis/redis/pull/8522
https://github.com/redis/redis/security/advisories/GHSA-hgj8-vff2-7cjf
https://security.gentoo.org/glsa/202103-02
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 redislabs redis * From (including) 4.0 Up to (excluding) 5.0.11
运行在以下环境
应用 redislabs redis * From (including) 6.0.0 Up to (excluding) 6.0.11
运行在以下环境
系统 alpine_3.10 redis * Up to (excluding) 5.0.11-r0
运行在以下环境
系统 alpine_3.11 redis * Up to (excluding) 5.0.11-r0
运行在以下环境
系统 alpine_3.12 redis * Up to (excluding) 5.0.11-r0
运行在以下环境
系统 alpine_3.13 redis * Up to (excluding) 6.0.11-r0
运行在以下环境
系统 alpine_3.14 redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 alpine_3.15 redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 alpine_3.16 redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 alpine_3.17 redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 alpine_3.18 redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 alpine_edge redis * Up to (excluding) 6.2.0-r0
运行在以下环境
系统 debian_10 redis * Up to (excluding) 5:5.0.3-4+deb10u3
运行在以下环境
系统 debian_11 redis * Up to (excluding) 5:6.0.11-1
运行在以下环境
系统 debian_12 redis * Up to (excluding) 5:6.0.11-1
运行在以下环境
系统 debian_9 redis * Up to (excluding) 3:3.2.6-3+deb9u4
运行在以下环境
系统 debian_sid redis * Up to (excluding) 5:6.0.11-1
运行在以下环境
系统 kylinos_aarch64_V10 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP1 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP3 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 redis * Up to (excluding) 4.0.11-16.p03.a.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP3 redis * Up to (excluding) 4.0.11-16.p03.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP3 redis * Up to (excluding) 4.0.11-16.p02.ky10
运行在以下环境
系统 opensuse_Leap_15.2 redis * Up to (excluding) 6.0.13-lp152.2.3.1
运行在以下环境
系统 ubuntu_21.04 redis * Up to (excluding) 5:6.0.11-1
运行在以下环境
系统 unionos_d redis * Up to (excluding) 5:5.0.14-1+security
阿里云评分 6.8
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 越权影响
  • EXP成熟度 N/A
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 无影响
  • 服务器危害 服务器失陷
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-190 整数溢出或超界折返
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0