CVE-2023-36824: Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis

Published Jul 11, 2023
·
Updated

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 GETKEYSANDFLAGSand 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 Software

3 affected components
Redis redis>=7.0.0<7.0.12
Fedoraproject Fedora=37
Fedoraproject Fedora=38

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 7.0.12

Event History

Jul 11, 2023
CVE Published
via MITRE·04:16 PM
Data Sourced
via MITRE·04:16 PM
DescriptionSeverityWeakness
Data Sourced
05:15 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is Redis?

Redis is an in-memory database that persists on disk.

2

What is the vulnerability ID?

The vulnerability ID is CVE-2023-36824.

3

What is the severity of CVE-2023-36824?

The severity of CVE-2023-36824 is high with a CVSS score of 8.8.

4

How can CVE-2023-36824 be exploited?

CVE-2023-36824 can be exploited by extracting key names from a command and a list of arguments, triggering a heap overflow and potentially leading to remote code execution.

5

How can I fix CVE-2023-36824?

To fix CVE-2023-36824, you should update Redis to version 7.0.12 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203