Skip to content
OpenAdvisories
High · 7.5 CVE-2021-32625 EUVD-2021-19456

Redis vulnerability in STRALGO LCS on 32-bit systems

Published Jun 2, 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. 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

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

ReleasePackageFixed inAdvisory
Debian 14 redis 5:6.0.14-1 —
Debian 13 redis 5:6.0.14-1 —
Debian 12 redis 5:6.0.14-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS redis No fix yet —
Ubuntu Pro 14.04 LTS redis No fix yet —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

References