CVE-2022-24834

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.

Scoring

Severity
HIGH
CVSS base score
7
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS probability
37.95%
CWE
CWE-122, CWE-680
Published
2023-07-13
Last modified
2026-03-13

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs