
CVE catalog
CVE-2022-24735
redis: CVE-2022-24735
- Severity
- Low · CVSS 3.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | redis | sid | 5:8.0.6-3 | fixed |
| Debian | redis | forky | 5:8.0.6-3 | fixed |
| Debian | redis | trixie | 5:8.0.2-3+deb13u2 | fixed |
| Debian | redis | trixie-security | 5:8.0.2-3+deb13u3 | fixed |
| Debian | redis | bookworm | 5:7.0.15-1~deb12u7 | fixed |
| Debian | redis | bookworm-security | 5:7.0.15-1~deb12u10 | fixed |
| Suse | redis | linux enterprise module for server applications 15 sp4 | 6.2.6-150400.3.3.7 | fixed |
| Opensuse | redis | leap 15.4 | 6.2.6-150400.3.3.7 | fixed |
| Opensuse | redis | tumbleweed | 6.2.7-1.1 | fixed |
| Suse | redis | linux enterprise module for server applications 15 sp3 | 6.0.14-150200.6.11.1 | fixed |
| Opensuse | redis | leap 15.3 | 6.0.14-150200.6.11.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | redis | source | sid | 5:7.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | forky | 5:7.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | trixie | 5:7.0.1-4 | not yet assigned | Not reported | Not reported |
| Debian | redis | source | bookworm | 5:7.0.1-4 | not yet assigned | Not reported | Not reported |
| Suse | redis | rpm | linux enterprise module for server applications 15 sp4 | 6.2.6-150400.3.3.7 | Not reported | SUSE-SU-2022:1929-1 | Not reported |
| Opensuse | redis | rpm | leap 15.4 | 6.2.6-150400.3.3.7 | Not reported | SUSE-SU-2022:1929-1 | Not reported |
| Opensuse | redis | rpm | tumbleweed | 6.2.7-1.1 | Not reported | OPENSUSE-SU-2024:12030-1 | Not reported |
| Suse | redis | rpm | linux enterprise module for server applications 15 sp3 | 6.0.14-150200.6.11.1 | Not reported | SUSE-SU-2022:1842-1 | Not reported |
| Opensuse | redis | rpm | leap 15.3 | 6.0.14-150200.6.11.1 | Not reported | SUSE-SU-2022:1842-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [redis]Unknown
Details (4)
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u7· all · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· all · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
- [redis-sentinel]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
- [redis-server]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
- [redis-tools]Unknown
Source package: [redis]
Details (4)
5:7.0.15-1~deb12u7· amd64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u7· arm64 · bookwormFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· amd64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
5:7.0.15-1~deb12u9· arm64 · bookworm-securityFixed · Fixed:
5:7.0.1-4dsa · redis · debian · bookworm
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_7541.json]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1842-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1929-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-24735]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12030-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-24735]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-24735.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0070.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]