What’s Vulnerable › Vulnerabilities
CVE-2023-36824: Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 77.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-07-11 · updated 2026-06-17
- Weakness: CWE-122
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 products
- Fedoraproject Fedora: 37, 38
- Redis: from 7.0.0 before 7.0.12 — fixed in 7.0.12
How to fix
Upgrade to a fixed version: Redis 7.0.12. Check the vendor advisory for mitigations.
References
- https://github.com/redis/redis/releases/tag/7.0.12
- https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- https://security.netapp.com/advisory/ntap-20230814-0009/
- https://github.com/redis/redis/releases/tag/7.0.12
- https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- https://security.netapp.com/advisory/ntap-20230814-0009/
Get alerted when CVE-2023-36824 or the next vulnerability affects your stack