CVE-2023-36824
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.
CWE
- CWE-122 — CWE-122: Heap-based Buffer Overflow
- CWE-131 — CWE-131: Incorrect Calculation of Buffer Size
Affected
- redis / redis — v=>= 7.0.0, < 7.0.12 [affected]
CVSS
- 3.1 score=7.4 severity=HIGH
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3 x_refsource_CONFIRM
- https://github.com/redis/redis/releases/tag/7.0.12 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- https://security.netapp.com/advisory/ntap-20230814-0009/
Source
cvelistV5-main/cves/2023/36xxx/CVE-2023-36824.json