Name | CVE-2021-32625 |
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). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 989351 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
redis (PTS) | jessie, jessie (lts) | 2:2.8.17-1+deb8u13 | fixed |
stretch (security) | 3:3.2.6-3+deb9u9 | fixed | |
stretch (lts), stretch | 3:3.2.6-3+deb9u13 | fixed | |
buster, buster (lts) | 5:5.0.14-1+deb10u6 | fixed | |
buster (security) | 5:5.0.14-1+deb10u5 | fixed | |
bullseye | 5:6.0.16-1+deb11u2 | fixed | |
bullseye (security) | 5:6.0.16-1+deb11u4 | fixed | |
bookworm (security), bookworm | 5:7.0.15-1~deb12u1 | fixed | |
sid, trixie | 5:7.0.15-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
redis | source | jessie | (not affected) | |||
redis | source | stretch | (not affected) | |||
redis | source | buster | (not affected) | |||
redis | source | (unstable) | 5:6.0.14-1 | 989351 |
[buster] - redis <not-affected> (Vulnerable code not present)
[stretch] - redis <not-affected> (Vulnerable code not present)
https://github.com/redis/redis/pull/9011
https://github.com/redis/redis/commit/1ddecf1958924b178b76a31d989ef1e05af81964
https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq
CVE is result of incomplete fix by CVE-2021-29477.
[jessie] - redis <not-affected> (Vulnerable code not present)