Vulnerability · Published May 4, 2021 · Assigned by GitHub_M
CVE-2021-29477Vulnerability in the STRALGO LCS command
High 7.5
In plain English
A high-severity integer overflow in redis from redis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | redis | 5:6.0.13-1 | DEBIAN-CVE-2021-29477 |
| Debian:13 | redis | 5:6.0.13-1 | DEBIAN-CVE-2021-29477 |
| Debian:14 | redis | 5:6.0.13-1 | DEBIAN-CVE-2021-29477 |
| Rocky Linux:8 | redis | 0:6.0.9-3.module+el8.4.0+395+8d498eeb | RLSA-2021:2034 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g x_refsource_CONFIRM
- https://redis.io/ x_refsource_MISC
- FEDORA-2021-3b267a756c vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-8b19c99d6a vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-916f861096 vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-0ad4bec5b1 vendor-advisory, x_refsource_FEDORA
- GLSA-202107-20 vendor-advisory, x_refsource_GENTOO