CVE-2022-24735 (CNNVD-202204-4527)

LOW
中文标题:
Redis Labs Redis 代码注入漏洞
英文标题:
Lua scripts can be manipulated to overcome ACL rules in Redis
CVSS分数: 3.9
发布时间: 2022-04-27 19:43:27
漏洞类型: 代码注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Redis Labs Redis是美国Redis Labs公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。 Redis 6.2.7 和 7.0.0 之前版本存在代码注入漏洞,该漏洞源于Lua 脚本执行环境存在问题。攻击者利用该漏洞可以实现以另一个Redis用户的权限执行脚本。

英文描述:

Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

CWE类型:
CWE-94
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
redis redis < 7.0.0 - - cpe:2.3:a:redis:redis:<_7.0.0:*:*:*:*:*:*:*
redis redis >= 6.0.0, < 6.2.7 - - cpe:2.3:a:redis:redis:>=_6.0.0,_<_6.2.7:*:*:*:*:*:*:*
redis redis * - - cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis 7.0 - - cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:*
fedoraproject fedora 34 - - cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 - - cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 - - cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
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:-:*:*:*:*:*:*:*
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
访问
无标题 x_refsource_MISC
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
FEDORA-2022-6ed1ce2838 vendor-advisory
cve.org
访问
FEDORA-2022-a0a4c7eb31 vendor-advisory
cve.org
访问
FEDORA-2022-44373f6778 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)
LOW
3.9
CVSS向量: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
机密性
LOW
完整性
LOW
可用性
NONE
时间信息
发布时间:
2022-04-27 19:43:27
修改时间:
2025-04-22 18:02:46
创建时间:
2025-11-11 15:37:22
更新时间:
2025-11-11 15:57:16
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2022-24735 2025-11-11 15:21:19 2025-11-11 07:37:22
NVD nvd_CVE-2022-24735 2025-11-11 14:58:17 2025-11-11 07:45:38
CNNVD cnnvd_CNNVD-202204-4527 2025-11-11 15:10:52 2025-11-11 07:57:16
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:57:16
vulnerability_type: 未提取 → 代码注入; cnnvd_id: 未提取 → CNNVD-202204-4527; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码注入
  • cnnvd_id: 未提取 -> CNNVD-202204-4527
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:45:38
affected_products_count: 2 → 12; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 2 -> 12
  • data_sources: ['cve'] -> ['cve', 'nvd']