{"id":"BIT-keydb-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-redis-2023-36824","BIT-valkey-2023-36824","CVE-2023-36824","GHSA-4cfx-h9gq-xpx3"],"modified":"2026-09-08T08:48:06.806384112Z","published":"2024-08-22T19:23:41.759Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"]},"references":[{"type":"ARTICLE","url":"https://github.com/redis/redis/releases/tag/7.0.12"},{"type":"ADVISORY","url":"https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230814-0009/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36824"}],"affected":[{"package":{"name":"keydb","ecosystem":"Bitnami","purl":"pkg:bitnami/keydb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.12"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/keydb/BIT-keydb-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.9.0"}