{"id":"BIT-valkey-2023-36824","summary":"Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis","details":"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.","aliases":["BIT-keydb-2023-36824","BIT-redis-2023-36824","CVE-2023-36824","GHSA-4cfx-h9gq-xpx3"],"modified":"2025-10-08T14:42:27.538231Z","published":"2024-08-22T19:41:15.161Z","database_specific":{"cpes":["cpe:2.3:a:valkey-io:valkey:*:*:*:*:*:*:*:*"],"severity":"High"},"references":[{"type":"WEB","url":"https://github.com/redis/redis/releases/tag/7.0.12"},{"type":"WEB","url":"https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230814-0009/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36824"}],"affected":[{"package":{"name":"valkey","ecosystem":"Bitnami","purl":"pkg:bitnami/valkey"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.12"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/valkey/BIT-valkey-2023-36824.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}