# CVE-2021-29477: Vulnerability in the STRALGO LCS command

- Priority: **Routine**
- Reason: Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-05-04 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-29477, RHSA-2021:2034, DEBIAN-CVE-2021-29477
- Record: https://cvemate.com/vulnerability/CVE-2021-29477 · JSON: https://cvemate.com/vulnerability/CVE-2021-29477/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.997%, percentile 90.83%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine redis (Alpine Linux): ≥ 6.0.0, \< 6.0.13-r0
- debian redis (Debian): \< 5:6.0.13-1
- fedoraproject fedora: 33 \| 34
- redis redis: ≥ 6.2.0, \< 6.2.3 \| ≥ 6.0.0, \< 6.0.13
- redislabs redis: ≥ 6.0.0, \< 6.0.13 \| ≥ 6.2.0, \< 6.2.3
- redhat redis (Red Hat): \< 0:6.0.9-3.module+el8.4.0+10984+ed187465
- redhat redis-debuginfo (Red Hat): \< 0:6.0.9-3.module+el8.4.0+10984+ed187465
- redhat redis-debugsource (Red Hat): \< 0:6.0.9-3.module+el8.4.0+10984+ed187465
- redhat redis-devel (Red Hat): \< 0:6.0.9-3.module+el8.4.0+10984+ed187465
- redhat redis-doc (Red Hat): \< 0:6.0.9-3.module+el8.4.0+10984+ed187465

## References

- <https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g>
- <https://redis.io/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/>
- <https://security.gentoo.org/glsa/202107-20>
- <https://security.alpinelinux.org/vuln/CVE-2021-29477>
- <https://access.redhat.com/errata/RHSA-2021:2034>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1957410>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2034.json>
- <https://access.redhat.com/security/cve/CVE-2021-29477>
- <https://www.cve.org/CVERecord?id=CVE-2021-29477>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29477>
- <https://security-tracker.debian.org/tracker/CVE-2021-29477>

---

Data as of 2026-12-05T03:59:39.011Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
