Description
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer could be exploited using the `STRALGO LCS` command to corrupt the heap and potentially result with remote code execution. The problem is fixed in version 6.2.3 and 6.0.13. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the `STRALGO LCS` command.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | >= 6.2.0, < 6.2.3, >= 6.0.0, < 6.0.13 | — |
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:6.0.13-1 | — |
| Debian 13 | redis | 5:6.0.13-1 | — |
| Debian 12 | redis | 5:6.0.13-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | redis +2 | 6.0.9-3.module+el8.4.0+10984+ed187465 | RHSA-2021:2034 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | redis | 6.0.9-3.module+el8.4.0+395+8d498eeb | RLSA-2021:2034 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | redis | 6.0.13-1.10.1 | SUSE-SU-2021:1652-1 |
| SLES 15 SP2 | redis | 6.0.13-1.10.1 | SUSE-SU-2021:1652-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 6.2.5-1.2 | openSUSE-SU-2024:11299-1 |
| openSUSE Leap 15.2 | redis | 6.0.13-lp152.2.3.1 | openSUSE-SU-2021:0682-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.13 | redis | 6.0.13-r0 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | redis +2 | 6.0.9-3.module+el8.4.0+20175+330f1c60 | ELSA-2021-2034 |
Advisories 7
- RHSA-2021:2034 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Mar 23, 2026
- RLSA-2021:2034 Important: redis:6 security update Rocky Linux Security Advisories · Feb 5, 2026
- SUSE-SU-2021:1652-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11299-1 redis-6.2.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0682-1 Security update for redis SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2023-2459 Redis: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 27, 2023
- ELSA-2021-2034 Important: redis:6 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 26, 2021
References
- https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g
- https://redis.io/
- FEDORA-2021-3b267a756c vendor-advisory
- FEDORA-2021-8b19c99d6a vendor-advisory
- FEDORA-2021-916f861096 vendor-advisory
- FEDORA-2021-0ad4bec5b1 vendor-advisory
- GLSA-202107-20 vendor-advisory