CVE-2022-24735
redis: Code injection via Lua script execution environment
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 27, 2022
Updated · November 3, 2026
Description
A flaw was found in the Redis database where Lua scripts can be manipulated to overcome ACL rules. This flaw allows an attacker with access to Redis to inject Lua code that executes the potentially higher privileges of another Redis user.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
If Lua scripting is not being used, this vulnerability can be mitigated by blocking access to SCRIPT LOAD and EVAL commands using ACL rules.
CVSS / CWE
CVSS 3.1 · 3.9CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CWE-94 · Improper Control of Generation of Code