Skip to content
OpenAdvisories
High · 7.5 CVE-2021-29478 EUVD-2021-16085

Vulnerability in the COPY command for large intsets

Published May 4, 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 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `set-max-intset-entries` configuration parameter. This can be done using ACL to restrict unprivileged users from using the `CONFIG SET` command.

Affected products

VendorProductAffectedFixed
redis redis >= 6.2.0, < 6.2.3 —

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.13-1 —
Debian 13 redis 5:6.0.13-1 —
Debian 12 redis 5:6.0.13-1 —
ReleasePackageFixed inAdvisory
SLES 15 SP3 redis 6.0.13-1.10.1 SUSE-SU-2021:1652-1
SLES 15 SP2 redis 6.0.13-1.10.1 SUSE-SU-2021:1652-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed redis 6.2.5-1.2 openSUSE-SU-2024:11299-1
openSUSE Leap 15.2 redis 6.0.13-lp152.2.3.1 openSUSE-SU-2021:0682-1

Advisories 3

References