PT-2021-3774 · Redis+4 · Redis+4

Huang Zhw

+1

·

Published

2021-07-21

·

Updated

2024-06-15

·

CVE-2021-32761

CVSS v2.0

8.5

High

VectorAV:N/AC:M/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Redis versions 2.2 through 5.0.12 Redis versions 6.0 through 6.0.14 Redis versions 6.2 through 6.2.4
Description A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists in Redis. The vulnerability can be exploited to corrupt the heap, leak arbitrary heap contents, or trigger remote code execution. This issue affects Redis on 32-bit platforms or compiled as a 32-bit binary. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted commands.
Recommendations For Redis versions 2.2 through 5.0.12, update to version 5.0.13 or later. For Redis versions 6.0 through 6.0.14, update to version 6.0.15 or later. For Redis versions 6.2 through 6.2.4, update to version 6.2.5 or later. As a temporary workaround, prevent users from modifying the proto-max-bulk-len configuration parameter by using ACL to restrict unprivileged users from using the CONFIG SET command.

Fix

RCE

Integer Overflow

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-3311
ALT-PU-2022-2429
ALT-PU-2023-4109
AZL-6850
BDU:2021-04030
CVE-2021-32761
DLA-2717-1
DLA-2717-2
DSA-5001-1
GHSA-8WXQ-J7RP-G8WJ
MGASA-2021-0373
OPENSUSE-SU-2024:11299-1
USN-5221-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Redis
Ubuntu