# Redis在hyperloglog命令中允许越界写,从而导致RCE
## 漏洞概述
Redis 是一个开源的、内存中的数据库,持久化到磁盘上。在 Redis 版本从 2.8 到 8.0.3、7.4.5、7.2.10 和 6.2.19 之前,经过身份验证的用户可以通过精心构造的字符串触发 hyperloglog 操作中的堆栈/堆溢出写入,可能导致远程代码执行。
## 影响版本
- 2.8 到 8.0.3 之前的所有版本
- 2.8 到 7.4.5 之前的所有版本
- 2.8 到 7.2.10 之前的所有版本
- 2.8 到 6.2.19 之前的所有版本
## 漏洞细节
- 经过身份验证的用户可以使用经过精心设计的字符串触发 hyperloglog 操作中的堆栈/堆溢出写入。
- 此漏洞可能导致远程代码执行。
## 影响
- 所有实现 hyperloglog 操作的 Redis 版本可能受到影响。
- 该漏洞在 8.0.3、7.4.5、7.2.10 和 6.2.19 版本中被修复。
- 工作区解决方案可通过 ACL 限制 HLL 命令执行来缓解问题。
标题: Out of bounds write in hyperloglog commands leads to RCE · Advisory · redis/redis · GitHub -- 🔗来源链接
标签: x_refsource_CONFIRM
神龙速读标题: Fix out of bounds write in hyperloglog commands (CVE-2025-32023) · redis/redis@5018874 · GitHub -- 🔗来源链接
标签: x_refsource_MISC
神龙速读