CVE-2023-36824
7.4high
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
- Severity
- 7.4high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 77.4% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-KEYDB-2023-36824BIT-REDIS-2023-36824BIT-VALKEY-2023-36824GHSA-4cfx-h9gq-xpx3
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
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | >= 7.0.0, < 7.0.12, from 7.0.0 before 7.0.12 | CVE List, NVD |
| fedoraproject fedora | 37, 38 | NVD |
| keydb (Bitnami) | from 7.0.0 before 7.0.12 | Bitnami Vulnerability Database |
| redis (Bitnami) | from 7.0.0 before 7.0.12 | Bitnami Vulnerability Database |
| valkey (Bitnami) | from 7.0.0 before 7.0.12 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
References
| https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3 | advisory, vendor-advisory, web | |
| https://github.com/redis/redis/releases/tag/7.0.12 | article, release-notes, web | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/ | advisory, mailing-list, third-party-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/ | advisory, mailing-list, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20230814-0009/ | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-36824 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-36824 changed 2025-02-13 | CVE Terms of Use |
| NVD | CVE-2023-36824 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYDB-2023-36824 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-REDIS-2023-36824 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-VALKEY-2023-36824 changed 2025-10-15 | Apache-2.0 |