CVE-2022-24834

Severity CVSS v4.0:
Pending analysis
Type:
CWE-122 Heap-based Buffer Overflow
Publication date:
13/07/2023
Last modified:
14/08/2023

Description

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 2.6.0 (including) 6.0.20 (excluding)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 6.2.0 (including) 6.2.13 (excluding)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 7.0.0 (including) 7.0.12 (excluding)
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*