Security Resilience

CVE-2023-36824

Memory Safety in Redis 7.0.0 – 7.0.12

High EPSSMemory Safety
Published
11 July 2023
Modified
10 April 2025
Patch / advisory
CVSS Score v3.1 7.4
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.77 99.6th percentile
Risk Priority 80 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-36824 is a high-severity Heap-based Buffer Overflow (CWE-122) vulnerability in Redis. Its CVSS base score is 7.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Redis 7.0 prior to version 7.0.12 contains a heap overflow vulnerability in the logic that extracts key names from commands and argument lists. The flaw can be triggered by the COMMAND GETKEYS and COMMAND GETKEYSANDFLAGS subcommands or by any command whose key names are matched by ACL rules, resulting in out-of-bounds reads, heap corruption, and potential remote code execution. The issue is tracked under CWE-122, CWE-131, and CWE-787 and carries a CVSS 3.1 score of 7.4.

Authenticated users are able to exploit the condition by submitting specially crafted commands that reference variadic key-name lists. Successful exploitation can disclose heap memory contents or corrupt allocator state, enabling arbitrary code execution on the Redis server process.

The vulnerability is fixed in Redis 7.0.12. The official advisory and release notes recommend immediate upgrade; downstream distributions such as Fedora have published corresponding package updates, and NetApp has issued an advisory for affected storage products. The EPSS score has remained near its peak of 0.9084 with a current value of 0.8900.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-1283Shared CWE-122, CWE-787
CVE-2024-3516Shared CWE-122, CWE-787
CVE-2023-6246Shared CWE-122, CWE-787
CVE-2023-5686Shared CWE-122, CWE-787
CVE-2024-4559Shared CWE-122, CWE-787
CVE-2024-24246Shared CWE-122, CWE-787
CVE-2023-6779Shared CWE-122, CWE-787
CVE-2023-4322Shared CWE-122, CWE-787
CVE-2023-4016Shared CWE-122, CWE-787
CVE-2024-5835Shared CWE-122, CWE-787

Affected Assets

redis
redis
7.0.0 — 7.0.12
fedoraproject
fedora
37, 38

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.4.1

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 full match
blocks

Secure-development practices directly require bounds checking and safe memory handling that prevent heap overflows.

ID.RA-01 partial match
blocks

Vulnerability scanning and recording can discover heap-overflow flaws but does not prevent their introduction in code.

PR.PS-02 partial match
blocks

Timely patching removes known heap-overflow instances after they exist.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect heap overflows before release.

prevents

Training technical teams on secure coding practices (including buffer handling and integer overflow awareness) reduces but does not eliminate incorrect buffer size calculations; the defect is a specific arithmetic/implementation error that even trained developers commit, and the strongest control is testing (A.8.29), not training.

prevents

Secure coding standards directly prescribe techniques (safe functions, bounds checks) that prevent heap-based buffer overflows.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices its contract requires of the supplier (8.25-8.29), so a faithfully implemented clause reduces ordinary implementation-phase software weaknesses like heap-based buffer overflows in delivered code, but the effect is mediated by supplier practice and is bounded by the ceiling the owner has set on this clause for this verb.

finds

A.8.8's reach is DISCLOSURE — it surfaces heap-based buffer overflows only where they appear as published CVEs in third-party components in the inventory. CWE-122 is overwhelmingly an implementation-phase defect in custom code, which A.8.8 does not read; the disclosed third-party share is a minority, matching the same logic that graded A.8.8 -> CWE-89 at `partial`.

References