Patchwire CVEs, their patch status, and feeds to follow them

CVE-2022-24735

Fixed in a distro release EPSS 2%CVSS 3.9

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.

Published 2022-04-27 · CVE record · OSV

Products: Redis

Distro releases

ReleasePackageFixed in
AlmaLinux 8redis6.2.7-1.module_el8.7.0+3288+a82c1b48
AlmaLinux 8redis-devel6.2.7-1.module_el8.7.0+3288+a82c1b48
AlmaLinux 8redis-doc6.2.7-1.module_el8.7.0+3288+a82c1b48
AlmaLinux 9redis6.2.7-1.el9
AlmaLinux 9redis-devel6.2.7-1.el9
AlmaLinux 9redis-doc6.2.7-1.el9
Alpine 3.14redis6.2.7-r0
Alpine 3.15redis6.2.7-r0
Alpine 3.16redis6.2.7-r0
Alpine 3.17redis6.2.7-r0
Alpine 3.18redis6.2.7-r0
Alpine 3.19redis6.2.7-r0
Debian 12redis5:7.0.1-4
Debian 13redis5:7.0.1-4
Debian 14redis5:7.0.1-4
Red Hat Enterprise Linux 8redis0:6.2.7-1.module+el8.7.0+15197+cc495aeb
Red Hat Enterprise Linux 8redis-debuginfo0:6.2.7-1.module+el8.7.0+15197+cc495aeb
Red Hat Enterprise Linux 8redis-debugsource0:6.2.7-1.module+el8.7.0+15197+cc495aeb
Red Hat Enterprise Linux 8redis-devel0:6.2.7-1.module+el8.7.0+15197+cc495aeb
Red Hat Enterprise Linux 8redis-doc0:6.2.7-1.module+el8.7.0+15197+cc495aeb
Red Hat Enterprise Linux 9redis0:6.2.7-1.el9
Red Hat Enterprise Linux 9redis-debuginfo0:6.2.7-1.el9
Red Hat Enterprise Linux 9redis-debugsource0:6.2.7-1.el9
Red Hat Enterprise Linux 9redis-devel0:6.2.7-1.el9
Red Hat Enterprise Linux 9redis-doc0:6.2.7-1.el9
Rocky Linux 8redis0:6.2.7-1.module+el8.7.0+1105+8815ce78
Rocky Linux 9redis0:6.2.7-1.el9
SUSE Linux Enterprise Module for Server Applications 15 SP3redis6.0.14-150200.6.11.1
SUSE Linux Enterprise Module for Server Applications 15 SP4redis6.2.6-150400.3.3.7
Ubuntu Pro 14.04 LTSredisno fix
Ubuntu Pro 16.04 LTSredisno fix
Ubuntu Pro 18.04 LTSredisno fix
Ubuntu Pro 20.04 LTSredisno fix
Ubuntu Pro 22.04 LTSredisno fix
openSUSE Leap 15.3redis6.0.14-150200.6.11.1
openSUSE Leap 15.4redis6.2.6-150400.3.3.7
openSUSE Tumbleweedredis6.2.7-1.1