PT-2021-4342 · Redis+9 · Redis+9

Published

2021-10-04

·

Updated

2026-05-18

·

CVE-2021-32628

CVSS v3.1

7.5

High

VectorAV: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

Weakness Enumeration

Related Identifiers

ALSA-2021:3918
ALSA-2021:3945
ALT-PU-2021-3311
ALT-PU-2022-2429
ALT-PU-2023-4109
AZL-6846
BDU:2021-04969
BIT-KEYDB-2021-32628
BIT-REDIS-2021-32628
BIT-VALKEY-2021-32628
CESA-2021_3918
CESA-2021_3945
CLEANSTART-2026-AF35851
CLEANSTART-2026-AV02020
CLEANSTART-2026-BX37171
CLEANSTART-2026-CJ12020
CLEANSTART-2026-CU71831
CLEANSTART-2026-DI78859
CLEANSTART-2026-DL37890
CLEANSTART-2026-EL98096
CLEANSTART-2026-FR00621
CLEANSTART-2026-GJ95666
CLEANSTART-2026-IR62391
CLEANSTART-2026-JR53141
CLEANSTART-2026-JU65303
CLEANSTART-2026-LU31244
CLEANSTART-2026-MJ64494
CLEANSTART-2026-MZ27698
CLEANSTART-2026-NG71279
CLEANSTART-2026-PR27884
CLEANSTART-2026-QK48981
CLEANSTART-2026-QX99194
CLEANSTART-2026-RA63757
CLEANSTART-2026-RF40424
CLEANSTART-2026-UA95882
CLEANSTART-2026-WI17406
CLEANSTART-2026-XH31600
CLEANSTART-2026-YM75307
CVE-2021-32628
DSA-5001-1
GHSA-VW22-QM3H-49PR
MGASA-2021-0483
OESA-2021-1452
OESA-2021-1454
OESA-2022-1948
OESA-2022-1958
OESA-2025-1157
OPENSUSE-SU-2021:3772-1
OPENSUSE-SU-2021_3772-1
OPENSUSE-SU-2024:11563-1
RHSA-2021:3918
RHSA-2021:3944
RHSA-2021:3945
RHSA-2021:3946
RHSA-2021:3947
RHSA-2021:3971
RHSA-2021:3980
RHSA-2021_3918
RHSA-2021_3945
RLSA-2021:3918
RLSA-2021:3945
SUSE-SU-2021:3772-1
USN-5221-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Redis
Rocky Linux
Suse
Ubuntu