CVE catalog

CVE-2022-24735

redis: CVE-2022-24735

[CVE catalog]

Severity
Low · CVSS 3.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debianredissid5:8.0.6-3fixed
Debianredisforky5:8.0.6-3fixed
Debianredistrixie5:8.0.2-3+deb13u2fixed
Debianredistrixie-security5:8.0.2-3+deb13u3fixed
Debianredisbookworm5:7.0.15-1~deb12u7fixed
Debianredisbookworm-security5:7.0.15-1~deb12u10fixed
Suseredislinux enterprise module for server applications 15 sp46.2.6-150400.3.3.7fixed
Opensuseredisleap 15.46.2.6-150400.3.3.7fixed
Opensuseredistumbleweed6.2.7-1.1fixed
Suseredislinux enterprise module for server applications 15 sp36.0.14-150200.6.11.1fixed
Opensuseredisleap 15.36.0.14-150200.6.11.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianredissourcesid5:7.0.1-4not yet assignedNot reportedNot reported
Debianredissourceforky5:7.0.1-4not yet assignedNot reportedNot reported
Debianredissourcetrixie5:7.0.1-4not yet assignedNot reportedNot reported
Debianredissourcebookworm5:7.0.1-4not yet assignedNot reportedNot reported
Suseredisrpmlinux enterprise module for server applications 15 sp46.2.6-150400.3.3.7Not reportedSUSE-SU-2022:1929-1Not reported
Opensuseredisrpmleap 15.46.2.6-150400.3.3.7Not reportedSUSE-SU-2022:1929-1Not reported
Opensuseredisrpmtumbleweed6.2.7-1.1Not reportedOPENSUSE-SU-2024:12030-1Not reported
Suseredisrpmlinux enterprise module for server applications 15 sp36.0.14-150200.6.11.1Not reportedSUSE-SU-2022:1842-1Not reported
Opensuseredisrpmleap 15.36.0.14-150200.6.11.1Not reportedSUSE-SU-2022:1842-1Not 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 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u7 · all · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · all · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · all · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

  • Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

  • [redis-server]Unknown

    Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

  • [redis-tools]Unknown

    Source package: [redis]

    Details (4)
    • 5:7.0.15-1~deb12u7 · amd64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u7 · arm64 · bookworm

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · amd64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

    • 5:7.0.15-1~deb12u9 · arm64 · bookworm-security

      Fixed · Fixed: 5:7.0.1-4

      dsa · redis · debian · bookworm

[openSUSE Tumbleweed]

  • [redis]Unknown

    Source package: [redis]

    Details (1)
    • 8.10.1-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 6.2.7-1.1

      dsa · redis · opensuse · tumbleweed

Observed:

References