CVE-2022-24735 (CNNVD-202204-4527)
中文标题:
Redis Labs Redis 代码注入漏洞
英文标题:
Lua scripts can be manipulated to overcome ACL rules in Redis
漏洞描述
中文描述:
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类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | 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:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
3.1 (cna)
LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录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 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 代码注入
- cnnvd_id: 未提取 -> CNNVD-202204-4527
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 2 -> 12
- data_sources: ['cve'] -> ['cve', 'nvd']