CVE-2023-36824: Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Redisto a version that resolves this vulnerability.Fixed in 7.0.12
Event History
Frequently Asked Questions
What is Redis?
Redis is an in-memory database that persists on disk.
What is the vulnerability ID?
The vulnerability ID is CVE-2023-36824.
What is the severity of CVE-2023-36824?
The severity of CVE-2023-36824 is high with a CVSS score of 8.8.
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.
How can I fix CVE-2023-36824?
To fix CVE-2023-36824, you should update Redis to version 7.0.12 or later.