Skip to content
OpenAdvisories
High · 7.5 CVE-2021-29477 EUVD-2021-16084

Vulnerability in the STRALGO LCS command

Published May 4, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 redis 5:6.0.13-1 —
Debian 13 redis 5:6.0.13-1 —
Debian 12 redis 5:6.0.13-1 —
ReleasePackageFixed inAdvisory
RHEL 8 redis +2 6.0.9-3.module+el8.4.0+10984+ed187465 RHSA-2021:2034

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 redis 6.0.9-3.module+el8.4.0+395+8d498eeb RLSA-2021:2034
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Alpine v3.13 redis 6.0.13-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 redis +2 6.0.9-3.module+el8.4.0+20175+330f1c60 ELSA-2021-2034

Advisories 7

References