CVE-2022-24735
published 2022-04-27CVE-2022-24735: 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…
PriorityP341high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
2.26%
81.2th percentile
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.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | redis | < redis 5:7.0.1-4 (bookworm) | redis 5:7.0.1-4 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_ceph_16.2.10-10_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_ceph_16.2.10-11_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_redis_6.2.7-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_redis_6.2.7-1_on_cbl_mariner_1.0 | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| redis | redis | < 7.0.0 | 7.0.0 |
| redis | redis | < 6.2.7 | 6.2.7 |
| redis | redis | — | — |
| redis | redis | — | — |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
| redis | redis | >= 0 < 5:7.0.1-4 | 5:7.0.1-4 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_oracle7.8LOW
vendor_debian3.9LOW
vendor_msrc3.9LOW
vendor_redhat3.9LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Communications Risk Matrix: Fraud Detection Monitor (Redis) — CVE-2022-24735
vendor_oracle·2022-07-15·CVSS 7.8
CVE-2022-24735 [LOW] Oracle Oracle Communications Risk Matrix: Fraud Detection Monitor (Redis) — CVE-2022-24735
Oracle Oracle Communications Risk Matrix: Fraud Detection Monitor (Redis) vulnerability
CVE: CVE-2022-24735
CVSS: 7.8
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpujul2022 (JUL 2022)
Red Hat
redis: Code injection via Lua script execution environment
vendor_redhat·2022-04-27·CVSS 3.9
CVE-2022-24735 [LOW] CWE-94 redis: Code injection via Lua script execution environment
redis: Code injection via Lua script execution environment
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 w
Microsoft
Lua scripts can be manipulated to overcome ACL rules in Redis
vendor_msrc·2022-04-12·CVSS 3.9
CVE-2022-24735 [LOW] CWE-94 Lua scripts can be manipulated to overcome ACL rules in Redis
Lua scripts can be manipulated to overcome ACL rules in Redis
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: h
Debian
CVE-2022-24735: redis - Redis is an in-memory database that persists on disk. By exploiting weaknesses i...
vendor_debian·2022·CVSS 3.9
CVE-2022-24735 [LOW] CVE-2022-24735: redis - Redis is an in-memory database that persists on disk. By exploiting weaknesses i...
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 inj
OSV
CVE-2022-24735: Redis is an in-memory database that persists on disk
osv·2022-04-27·CVSS 7.8
CVE-2022-24735 [HIGH] CVE-2022-24735: Redis is an in-memory database that persists on disk
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 inj
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/redis/redis/pull/10651https://github.com/redis/redis/releases/tag/6.2.7https://github.com/redis/redis/releases/tag/7.0.0https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvqhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/https://security.gentoo.org/glsa/202209-17https://security.netapp.com/advisory/ntap-20220715-0003/https://www.oracle.com/security-alerts/cpujul2022.htmlhttps://github.com/redis/redis/pull/10651https://github.com/redis/redis/releases/tag/6.2.7https://github.com/redis/redis/releases/tag/7.0.0https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvqhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/https://security.gentoo.org/glsa/202209-17https://security.netapp.com/advisory/ntap-20220715-0003/https://www.oracle.com/security-alerts/cpujul2022.html
2022-04-27
Published