CVE-2022-24735
published low CVSS 3.1 · 3.9Lua scripts can be manipulated to overcome ACL rules in Redis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis< 7.0.0 · >= 6.0.0, < 6.2.7 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2REDIS6-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-064 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | redis | Advisory build | 6.2.7-1.module_el8.7.0+3288+a82c1b48 | ALSA-2022:7541 |
| Alpine Linux | edge | redis | Fixed | 6.2.7-r0 | Package fix record |
| Oracle Linux | 8 | redisaarch64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| SUSE / openSUSE | SLE-15-SP3 | redisaarch64 | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | redisaarch64 | Listed in advisory | Not stated | ALAS2REDIS6-2023-003 |
| Rocky Linux | 8 | redisaarch64 | Listed in advisory | Not stated | RLSA-2022:7541 |
| AlmaLinux | 9 | redis | Advisory build | 6.2.7-1.el9 | ALSA-2022:8096 |
| Alpine Linux | v3.14 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.15 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.16 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.17 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.18 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.19 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.20 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.21 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 6.2.7-r0 | Package fix record |
| Oracle Linux | 8 | redisx86_64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Oracle Linux | 9 | redisaarch64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Oracle Linux | 9 | redisx86_64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-9 | redisaarch64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redisppc64le | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | rediss390x | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redissrc | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redisx86_64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| SUSE / openSUSE | SLE-15-SP3 | redisppc64le | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | SLE-15-SP3 | rediss390x | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisx86_64 | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisaarch64 | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisppc64le | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | SLE-15-SP4 | rediss390x | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | SLE-15-SP4 | redisx86_64 | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisaarch64 | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisppc64le | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | rediss390x | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisx86_64 | Advisory build | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisaarch64 | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisppc64le | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | rediss390x | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | redisx86_64 | Advisory build | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 6.2.7-1.1 | OPENSUSE-SU-2024:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 6.2.7-1.1 | OPENSUSE-SU-2024:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 6.2.7-1.1 | OPENSUSE-SU-2024:12030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 6.2.7-1.1 | OPENSUSE-SU-2024:12030-1 |
| AlmaLinux | 8 | redis-devel | Advisory build | 6.2.7-1.module_el8.7.0+3288+a82c1b48 | ALSA-2022:7541 |
| AlmaLinux | 8 | redis-doc | Advisory build | 6.2.7-1.module_el8.7.0+3288+a82c1b48 | ALSA-2022:7541 |
| AlmaLinux | 9 | redis-devel | Advisory build | 6.2.7-1.el9 | ALSA-2022:8096 |
| AlmaLinux | 9 | redis-doc | Advisory build | 6.2.7-1.el9 | ALSA-2022:8096 |
| Oracle Linux | 8 | redis-develaarch64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Oracle Linux | 8 | redis-develx86_64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Oracle Linux | 8 | redis-docaarch64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Oracle Linux | 8 | redis-docx86_64 · redis · 6b | Advisory build | 0:6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
| Oracle Linux | 9 | redis-develaarch64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Oracle Linux | 9 | redis-develx86_64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Oracle Linux | 9 | redis-docaarch64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Oracle Linux | 9 | redis-docx86_64 | Advisory build | 0:6.2.7-1.el9 | ELSA-2022-8096 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourceaarch64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourceppc64le | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsources390x | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debugsourcex86_64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develaarch64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develppc64le | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-devels390x | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-develx86_64 | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-8 | redis-docnoarch | Advisory build | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoaarch64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoi686 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfoppc64le | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfos390x | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debuginfox86_64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceaarch64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourcei686 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourceppc64le | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsources390x | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-debugsourcex86_64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develaarch64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develi686 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develppc64le | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-devels390x | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-develx86_64 | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Red Hat Enterprise Linux | RHEL-9 | redis-docnoarch | Advisory build | 6.2.7-1.el9 | RHSA-2022:8096 |
| Amazon Linux | AL2 | redisnoarch | Listed in advisory | Not stated | ALAS2REDIS6-2023-003 |
| Amazon Linux | AL2 | redissrc | Listed in advisory | Not stated | ALAS2REDIS6-2023-003 |
| Amazon Linux | AL2 | redisx86_64 | Listed in advisory | Not stated | ALAS2REDIS6-2023-003 |
| Rocky Linux | 8 | redissrc | Listed in advisory | Not stated | RLSA-2022:7541 |
| Rocky Linux | 8 | redisx86_64 | Listed in advisory | Not stated | RLSA-2022:7541 |
| Rocky Linux | 9 | redisaarch64 | Listed in advisory | Not stated | RLSA-2022:8096 |
| Rocky Linux | 9 | redisppc64le | Listed in advisory | Not stated | RLSA-2022:8096 |
| Rocky Linux | 9 | rediss390x | Listed in advisory | Not stated | RLSA-2022:8096 |
| Rocky Linux | 9 | redissrc | Listed in advisory | Not stated | RLSA-2022:8096 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | < 7.0.0 (affected)>= 6.0.0, < 6.2.7 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
10- https://github.com/redis/redis/pull/10651
- https://github.com/redis/redis/releases/tag/6.2.7
- https://github.com/redis/redis/releases/tag/7.0.0
- https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq
- FEDORA-2022-44373f6778 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
- FEDORA-2022-6ed1ce2838 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
- FEDORA-2022-a0a4c7eb31 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
- GLSA-202209-17 https://security.gentoo.org/glsa/202209-17
- https://security.netapp.com/advisory/ntap-20220715-0003/
- https://www.oracle.com/security-alerts/cpujul2022.html
Provider assertions
3GitHub_M · cna
Lua scripts can be manipulated to overcome ACL rules in Redis
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 94adce5ccdbcd3bc601d819186d38b36cb79bf641254bc29457dbf835ec14d2c
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record