CVE-2021-29477 json
Vulnerability in the STRALGO LCS command
published 2021-05-03 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-16084 , GHSA-vqxj-26vj-996g
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- redislabs redis 6.0.13, 6.2.3
- redis Debian 14, Debian 13, Debian 12 5:6.0.13-1
debian advisories DEBIAN-CVE-2021-29477
- redis RHEL 8 6.0.9-3.module+el8.4.0+10984+ed187465
red hat advisories RHSA-2021:2034
- redis SLE Module for Server Applications 15 SP3, SLE Module for Server Applications 15 SP2 6.0.13-1.10.1
suse advisories SUSE-SU-2021:1652-1
- redis openSUSE Tumbleweed 6.2.5-1.2
- redis openSUSE Leap 15.2 6.0.13-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:11299-1openSUSE-SU-2021:0682-1
- redis Rocky Linux 8 6.0.9-3.module+el8.4.0+395+8d498eeb
rocky linux advisories RLSA-2021:2034
- redis Alpine 3.13 6.0.13-r0
alpine advisories ALPINE-CVE-2021-29477
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-29477 updated cvss 8.8
redis: Integer overflow via STRALGO LCS command
-
Red Hat Advanced Cluster Management for Kubernetes 2 redisgraph-tls-rhel8affected: workaround, no fix available “The flaw can be mitigated by disallowing usage of the STRALGO LCS command via ACL configuration. Please see https://redis.io/topics/acl for more information on how to do this.”
-
Red Hat Enterprise Linux AppStream (v. 8) redis 6.0.9-3.module+el8.4.0+10984+ed187465fixed: vendor fix “The flaw can be mitigated by disallowing usage of the STRALGO LCS command via ACL configuration. Please see https://redis.io/topics/acl for more information on how to do this.” RHSA-2021:2034
-
Red Hat Ansible Automation Platform 1.2 redis Red Hat Ansible Tower 3 redis Red Hat Enterprise Linux 8 redis Red Hat Enterprise Linux 9 redis Red Hat OpenStack Platform 10 (Newton) redis Red Hat OpenStack Platform 13 (Queens) redisnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.00% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected products
- redis redis
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/
vendor-advisory
-
security.gentoo.org
/glsa/202107-20
vendor-advisory, third-party-advisory
-
github.com
/redis/redis/security/advisories/GHSA-vqxj-26vj-996g
third-party-advisory, advisory
-
redis.io
/
product
Sources
- CVE List CVE-2021-29477
- NVD CVE-2021-29477
- Maintainer advisory GHSA-vqxj-26vj-996g
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.