PT-2023-3968 · Redis+4 · Redis+4

Lior Lahav

·

Published

2023-06-27

·

Updated

2026-05-18

·

CVE-2023-36824

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Redis versions 7.0 prior to 7.0.12
Description The issue is related to a heap overflow that may occur when extracting key names from a command and a list of arguments in Redis. This can result in reading random heap memory, heap corruption, and potentially remote code execution. Authenticated users may execute specially crafted commands, such as COMMAND GETKEYS or COMMAND GETKEYSANDFLAGS, to exploit this issue. Additionally, authenticated users with ACL rules that match key names may execute specially crafted commands that refer to a variadic list of key names.
Recommendations To resolve the issue, update to Redis version 7.0.12 or later. As a temporary workaround, consider restricting access to the COMMAND GETKEYS and COMMAND GETKEYSANDFLAGS commands for authenticated users, and limit the execution of commands that refer to a variadic list of key names for users with matching ACL rules.

Exploit

Fix

DoS

RCE

Heap Based Buffer Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

ALT-PU-2023-4982
ALT-PU-2025-11673
ALT-PU-2025-13204
BDU:2023-04264
BIT-KEYDB-2023-36824
BIT-REDIS-2023-36824
BIT-VALKEY-2023-36824
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-SG88217
CLEANSTART-2026-UA95882
CLEANSTART-2026-WI17406
CLEANSTART-2026-XH31600
CLEANSTART-2026-YM75307
CVE-2023-36824
DSA-5610-1
GHSA-4CFX-H9GQ-XPX3
OPENSUSE-SU-2023_2925-1
OPENSUSE-SU-2024:13047-1
ROSA-SA-2023-2296
SUSE-SU-2023:2925-1
SUSE-SU-2023_2925-1

Affected Products

Alt Linux
Astra Linux
Red Os
Redis
Suse