Description
Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | < 6.2.7, < 7.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redis | 5:7.0.1-4 | — |
| Debian 13 | redis | 5:7.0.1-4 | — |
| Debian 12 | redis | 5:7.0.1-4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | redis | No fix yet | — |
| Ubuntu Pro 20.04 LTS | redis | No fix yet | — |
| Ubuntu Pro 18.04 LTS | redis | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | redis | No fix yet | — |
| Ubuntu Pro 14.04 LTS | redis | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | redis +2 | 6.2.7-1.el9 | RHSA-2022:8096 |
| RHEL 8 | redis +2 | 6.2.7-1.module+el8.7.0+15197+cc495aeb | RHSA-2022:7541 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | redis +2 | 6.2.7-1.el9 | ALSA-2022:8096 |
| AlmaLinux 8 | redis +2 | 6.2.7-1.module_el8.7.0+3288+a82c1b48 | ALSA-2022:7541 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | redis | 6.2.7-1.el9 | RLSA-2022:8096 |
| Rocky Linux 8 | redis | 6.2.7-1.module+el8.7.0+1105+8815ce78 | RLSA-2022:7541 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | redis | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| SLES 15 SP3 | redis | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 6.2.7-1.1 | openSUSE-SU-2024:12030-1 |
| openSUSE Leap 15.4 | redis | 6.2.6-150400.3.3.7 | SUSE-SU-2022:1929-1 |
| openSUSE Leap 15.3 | redis | 6.0.14-150200.6.11.1 | SUSE-SU-2022:1842-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redis | 6.2.7-r0 | — |
| Alpine v3.23 | redis | 6.2.7-r0 | — |
| Alpine v3.22 | redis | 6.2.7-r0 | — |
| Alpine v3.21 | redis | 6.2.7-r0 | — |
| Alpine v3.20 | redis | 6.2.7-r0 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | redis | 6.2.7-r0 | — |
| Alpine v3.18 | redis | 6.2.7-r0 | — |
| Alpine v3.17 | redis | 6.2.7-r0 | — |
| Alpine v3.16 | redis | 6.2.7-r0 | — |
| Alpine v3.15 | redis | 6.2.7-r0 | — |
| Alpine v3.14 | redis | 6.2.7-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | redis6 +2 | 6.2.7-1.amzn2023.0.3 | ALAS2023-2023-064 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | compat-lua | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | compat-lua | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | redis | 6.2.7-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | redis +2 | 6.2.7-1.el9 | ELSA-2022-8096 |
| Oracle Linux 8 | redis +2 | 6.2.7-1.module+el8.7.0+20764+cc495aeb | ELSA-2022-7541 |
Advisories 13
- ALSA-2022:7541 Low: redis:6 security, bug fix, and enhancement update AlmaLinux Security Advisories · Nov 3, 2026
- ALSA-2022:8096 Low: redis security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:8096 Red Hat Security Advisory: redis security and bug fix update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RHSA-2022:7541 Red Hat Security Advisory: redis:6 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- RLSA-2022:8096 Low: redis security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:7541 Low: redis:6 security, bug fix, and enhancement update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2022:1929-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12030-1 redis-6.2.7-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1842-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-0070 Redis: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 24, 2024
- ALAS2023-2023-064 Low: redis6 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ELSA-2022-8096 Low: redis security and bug fix update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 22, 2022
- ELSA-2022-7541 Low: redis:6 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 15, 2022
References
- 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-3qpw-7686-5984
- FEDORA-2022-6ed1ce2838 vendor-advisory
- FEDORA-2022-a0a4c7eb31 vendor-advisory
- FEDORA-2022-44373f6778 vendor-advisory
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220715-0003/
- GLSA-202209-17 vendor-advisory