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. This is a result of an incomplete fix by CVE-2021-29477. The problem is fixed in version 6.2.4 and 6.0.14. 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. On 64 bit systems which have the fixes of CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2GB (default is 512MB).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | < 6.0.14, >= 6.2.0, < 6.2.4 | — |
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.14-1 | — |
| Debian 13 | redis | 5:6.0.14-1 | — |
| Debian 12 | redis | 5:6.0.14-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | redis | No fix yet | — |
| Ubuntu Pro 14.04 LTS | redis | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | redis | 6.0.14-6.5.1 | SUSE-SU-2021:2294-1 |
| SLES 15 SP2 | redis | 6.0.14-6.5.1 | SUSE-SU-2021:2294-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.3 | redis | 6.0.14-6.5.1 | openSUSE-SU-2021:2294-1 |
| openSUSE Leap 15.2 | redis | 6.0.14-lp152.2.6.1 | openSUSE-SU-2021:0841-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redis | 6.2.4-r0 | — |
| Alpine v3.23 | redis | 6.2.4-r0 | — |
| Alpine v3.22 | redis | 6.2.4-r0 | — |
| Alpine v3.21 | redis | 6.2.4-r0 | — |
| Alpine v3.20 | redis | 6.2.4-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | redis | 6.2.4-r0 | — |
| Alpine v3.18 | redis | 6.2.4-r0 | — |
| Alpine v3.17 | redis | 6.2.4-r0 | — |
| Alpine v3.16 | redis | 6.2.4-r0 | — |
| Alpine v3.15 | redis | 6.2.4-r0 | — |
| Alpine v3.14 | redis | 6.2.4-r0 | — |
| Alpine v3.13 | redis | 6.0.14-r0 | — |
Advisories 5
- openSUSE-SU-2024:11299-1 redis-6.2.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2294-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2294-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:0841-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2458 Redis: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 27, 2023