{"id":"CVE-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","BIT-valkey-2023-36824","GHSA-4cfx-h9gq-xpx3"],"modified":"2026-04-10T04:12:00.657806Z","published":"2023-07-11T16:16:16.432Z","related":["SUSE-SU-2023:2925-1","openSUSE-SU-2024:13047-1"],"database_specific":{"cwe_ids":["CWE-122","CWE-131"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36824.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/redis/redis/releases/tag/7.0.12"},{"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":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36824.json"},{"type":"ADVISORY","url":"https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36824"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230814-0009/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redis/redis","events":[{"introduced":"d375595d5e3ae2e5c29e6c00a2dc3d60578fd9fc"},{"fixed":"8e73f9d34821a937165884f13a2981883f44a074"}],"database_specific":{"versions":[{"introduced":"7.0.0"},{"fixed":"7.0.12"}]}}],"versions":["7.0.0","7.0.1","7.0.10","7.0.11","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-36824.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"37"}]},{"events":[{"introduced":"0"},{"last_affected":"38"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}