CVE-2023-36824CWE-122CWE-131

Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis

High · published July 11, 2023

Patch now

High probability of exploitation

CVSS calls it high at 7.4. It sits in the 99.6th percentile for exploit probability.

CVSS v3.1
7.4
EPSS
77%
Percentile
99.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.77422 · 99.6th percentile
Weaknesses
CWE-122 · Heap-based Buffer Overflow; CWE-131 · Incorrect Calculation of Buffer Size
Published
2023-07-11T16:16Z
EPSS history
Timeline
  • 11 JUL 16:16Z
    Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
    cvelistv5