PT-2021-4342 · Redis+9 · Redis+9
Published
2021-10-04
·
Updated
2026-05-18
·
CVE-2021-32628
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Redis versions prior to 5.0.14
Redis versions prior to 6.0.16
Redis versions prior to 6.2.6
Description
The issue is related to an integer overflow bug in the ziplist data structure used by Redis, which can be exploited to corrupt the heap and potentially result in remote code execution. This can be achieved by modifying the default ziplist configuration parameters, such as
hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries, or zset-max-ziplist-value, to a very large value and then constructing specially crafted commands to create very large ziplists.Recommendations
For versions prior to 5.0.14, update to version 5.0.14 or later.
For versions prior to 6.0.16, update to version 6.0.16 or later.
For versions prior to 6.2.6, update to version 6.2.6 or later.
As a temporary workaround, consider preventing users from modifying the ziplist configuration parameters using ACL to restrict unprivileged users from using the CONFIG SET command.
Fix
RCE
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Redis
Rocky Linux
Suse
Ubuntu