CVE-2022-24735
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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2022-24735 are fixed in Redis 6.2.7 | Windows |
| Multiple Vulnerabilities are affected in IBM Planning Analytics Local 2.0 | Windows |
| (RHSA-2022:8096) redis security and bug fix update redis-6.2.7-1.el9.x86_64.rpm | Linux |
| (RHSA-2022:8096) redis security and bug fix update redis-debugsource-6.2.7-1.el9.i686.rpm | Linux |
| (RHSA-2022:8096) redis security and bug fix update redis-debugsource-6.2.7-1.el9.x86_64.rpm | Linux |
| (RHSA-2022:8096) redis security and bug fix update redis-devel-6.2.7-1.el9.i686.rpm | Linux |
| (RHSA-2022:8096) redis security and bug fix update redis-devel-6.2.7-1.el9.x86_64.rpm | Linux |
| (RHSA-2022:8096) redis security and bug fix update redis-doc-6.2.7-1.el9.noarch.rpm | Linux |
| redis security and bug fix update (RLSA-2022:8096) redis-6.2.7-1.el9.x86_64.rpm | Linux |
| redis security and bug fix update (RLSA-2022:8096) redis-doc-6.2.7-1.el9.noarch.rpm | Linux |
| redis security and bug fix update (RLSA-2022:8096) redis-devel-6.2.7-1.el9.i686.rpm | Linux |
| redis security and bug fix update (RLSA-2022:8096) redis-devel-6.2.7-1.el9.x86_64.rpm | Linux |
| (RHSA-2022:7541)Low: security, bug fix, and enhancement update redis-debuginfo-6.2.7-1.module+el8.7.0+15197+cc495aeb.x86_64.rpm | Linux |
| redis:6 security, bug fix, and enhancement update (RLSA-2022:7541) redis-6.2.7-1.module+el8.7.0+1105+8815ce78.x86_64.rpm | Linux |
| redis:6 security, bug fix, and enhancement update (RLSA-2022:7541) redis-doc-6.2.7-1.module+el8.7.0+1105+8815ce78.noarch.rpm | Linux |
| redis:6 security, bug fix, and enhancement update (RLSA-2022:7541) redis-devel-6.2.7-1.module+el8.7.0+1105+8815ce78.x86_64.rpm | Linux |
| Redis update (ELSA-2022-7541) redis-6.2.7-1.module+el8.7.0+20764+cc495aeb.x86_64.rpm | Linux |
| Redis-devel update (ELSA-2022-7541) redis-devel-6.2.7-1.module+el8.7.0+20764+cc495aeb.x86_64.rpm | Linux |
| Redis-doc update (ELSA-2022-7541) redis-doc-6.2.7-1.module+el8.7.0+20764+cc495aeb.noarch.rpm | Linux |
| redis6 Security Update (ALAS2023-2023-064) redis6-6.2.7-1.amzn2023.0.3.x86_64.rpm | Linux |
| redis6 Security Update (ALAS2023-2023-064) redis6-devel-6.2.7-1.amzn2023.0.3.x86_64.rpm | Linux |
| redis6 Security Update (ALAS2023-2023-064) redis6-doc-6.2.7-1.amzn2023.0.3.noarch.rpm | Linux |
| CVE-2022-24735 | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234