CVE-2022-24735 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redis redis | < 6.2.7 7.0 rc1 7.0 rc2 7.0 rc3 |
CPE
Remediation
| |
| fedoraproject fedora | 34 35 36 |
CPE
Remediation
| |
| netapp management services for element software | All versions |
CPE
Remediation
| |
| netapp management services for netapp hci | All versions |
CPE
Remediation
| |
| oracle communications operations monitor | 4.3 4.4 5.0 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 7, 2022 | Modified Analysis | [email protected] |
| Sep 29, 2022 | CVE Modified | [email protected] |
| Jul 25, 2022 | CVE Modified | [email protected] |
| Jul 15, 2022 | CVE Modified | [email protected] |
| May 9, 2022 | Initial Analysis | [email protected] |
| May 8, 2022 | CVE Modified | [email protected] |
| May 7, 2022 | CVE Modified | [email protected] |
| Apr 28, 2022 | CVE Modified | [email protected] |