CVE-2021-32626 (CNNVD-202110-135)

HIGH
中文标题:
Redis Labs Redis 缓冲区错误漏洞
英文标题:
Lua scripts can overflow the heap-based Lua stack in Redis
CVSS分数: 7.5
发布时间: 2021-10-04 17:30:11
漏洞类型: 缓冲区错误
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Redis Labs Redis是美国Redis Labs公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。 Redis 存在缓冲区错误漏洞,在Redis中执行特别制作的Lua脚本可能会导致基于堆的Lua堆栈溢出,这可能导致堆损坏,并可能导致远程代码执行。从2.6版本开始,所有支持Lua脚本的Redis版本都存在该漏洞。

英文描述:

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

CWE类型:
CWE-787 CWE-122
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
redis redis >= 6.2.0, < 6.2.6 - - cpe:2.3:a:redis:redis:>=_6.2.0,_<_6.2.6:*:*:*:*:*:*:*
redis redis >= 6.0.0, < 6.0.16 - - cpe:2.3:a:redis:redis:>=_6.0.0,_<_6.0.16:*:*:*:*:*:*:*
redis redis >= 2.6.0, < 5.0.14 - - cpe:2.3:a:redis:redis:>=_2.6.0,_<_5.0.14:*:*:*:*:*:*:*
redis redis * - - cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
fedoraproject fedora 33 - - cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 - - cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 - - cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
netapp management_services_for_element_software - - - cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*
netapp management_services_for_netapp_hci - - - cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*
debian debian_linux 10.0 - - cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 - - cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.3 - - cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.4 - - cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:*
oracle communications_operations_monitor 5.0 - - cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 x_refsource_CONFIRM
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
FEDORA-2021-8913c7900c vendor-advisory
cve.org
访问
FEDORA-2021-61c487f241 vendor-advisory
cve.org
访问
[druid-commits] 20211025 [GitHub] [druid] jihoonson opened a new pull request #11844: Bump netty4 to 4.1.68; suppress CVE-2021-37136 and CVE-2021-37137 for netty3 mailing-list
cve.org
访问
FEDORA-2021-aa94492a09 vendor-advisory
cve.org
访问
DSA-5001 vendor-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
GLSA-202209-17 vendor-advisory
cve.org
访问
CVSS评分详情
3.1 (cna)
HIGH
7.5
CVSS向量: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2021-10-04 17:30:11
修改时间:
2024-08-03 23:25:30
创建时间:
2025-11-11 15:36:52
更新时间:
2025-11-11 15:56:57
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2021-32626 2025-11-11 15:20:58 2025-11-11 07:36:52
NVD nvd_CVE-2021-32626 2025-11-11 14:57:43 2025-11-11 07:45:11
CNNVD cnnvd_CNNVD-202110-135 2025-11-11 15:10:43 2025-11-11 07:56:57
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:56:57
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-202110-135; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 缓冲区错误
  • cnnvd_id: 未提取 -> CNNVD-202110-135
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:11
affected_products_count: 3 → 14; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 3 -> 14
  • data_sources: ['cve'] -> ['cve', 'nvd']