CVE-2023-36824
JSON

7.4high

Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis

Severity
7.4high CVSS:3.1 by GitHub_M
Exploit likelihood
77.4% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-KEYDB-2023-36824BIT-REDIS-2023-36824BIT-VALKEY-2023-36824GHSA-4cfx-h9gq-xpx3

Description

Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS`and authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.

Affected

Product or packageVersionsReported by
redis redis>= 7.0.0, < 7.0.12, from 7.0.0 before 7.0.12CVE List, NVD
fedoraproject fedora37, 38NVD
keydb (Bitnami)from 7.0.0 before 7.0.12Bitnami Vulnerability Database
redis (Bitnami)from 7.0.0 before 7.0.12Bitnami Vulnerability Database
valkey (Bitnami)from 7.0.0 before 7.0.12Bitnami Vulnerability Database

All scores

GitHub_M7.4high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-122CWE-131CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-36824 changed 2025-02-13CVE Terms of Use
NVDCVE-2023-36824 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-KEYDB-2023-36824 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-REDIS-2023-36824 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-VALKEY-2023-36824 changed 2025-10-15Apache-2.0