What’s Vulnerable › Vulnerabilities
CVE-2021-32625: Redis vulnerability in STRALGO LCS on 32-bit systems
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-06-02 · updated 2026-06-17
- Weakness: CWE-680
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
- Fedoraproject Fedora: 33, 34
- Redis Labs Redis: from 6.0.0 before 6.0.14; from 6.2.0 before 6.2.4 — fixed in 6.0.14, 6.2.4
How to fix
Upgrade to a fixed version: Redis Labs Redis 6.0.14, 6.2.4. Check the vendor advisory for mitigations.
References
- https://github.com/redis/redis/releases/tag/6.0.14
- https://github.com/redis/redis/releases/tag/6.2.4
- https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq
- 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://github.com/redis/redis/releases/tag/6.0.14
- https://github.com/redis/redis/releases/tag/6.2.4
- https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq
- 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/
Get alerted when CVE-2021-32625 or the next vulnerability affects your stack