Skip to content

CVE-2021-29477 Vulnerability in the STRALGO LCS command

HighCVSS 8.8 EPSS 4.0%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

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.

Upgrade path

7 packages: 5 fixed.

PackageAffectedFixed inStatus
alpine/redis(Alpine v3.13) >= 6.0.0, < 6.0.13-r0 6.0.13-r0 Fixed
debian/redis(Debian 12) < 5:6.0.13-1 5:6.0.13-1 Fixed
debian/redis(Debian 13) < 5:6.0.13-1 5:6.0.13-1 Fixed
debian/redis(Debian 14) < 5:6.0.13-1 5:6.0.13-1 Fixed
redislabs redis >= 6.0.0, < 6.0.13; >= 6.2.0, < 6.2.3 6.0.13, 6.2.3 Fixed
fedoraproject fedora = 33; = 34 No fix listed Versions listed
Redis = >= 6.0.0, < 6.0.13; = >= 6.2.0, < 6.2.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/redis(Debian:12) < 5:6.0.13-1 5:6.0.13-1
debian/redis(Debian:13) < 5:6.0.13-1 5:6.0.13-1
debian/redis(Debian:14) < 5:6.0.13-1 5:6.0.13-1
redislabs redis >= 6.0.0, < 6.0.13 6.0.13
redislabs redis >= 6.2.0, < 6.2.3 6.2.3
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
alpine/redis(Alpine:v3.13) >= 6.0.0, < 6.0.13-r0 6.0.13-r0
Redis = >= 6.2.0, < 6.2.3 No fix listed
Redis = >= 6.0.0, < 6.0.13 No fix listed

References