🛡️ CVE-2022-24735
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-94 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

Details

Severity LOW
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
CWE CWE-94
Public Exploit ⚠️ Yes
Source NVD
Published 2022-04-27
Updated 2026-06-15
Modified 2024-11-21

Affected Packages

Software From version Fixed in
communications-operations-monitor
fedora
keydb
management-services-for-element-software
management-services-for-netapp-hci
redis
valkey

References

Exploit, Third Party Advisory https://github.com/redis/redis/pull/10651
Release Notes, Third Party Advisory https://github.com/redis/redis/releases/tag/6.2.7
Release Notes, Third Party Advisory https://github.com/redis/redis/releases/tag/7.0.0
Exploit, Third Party Advisory https://github.com/redis/redis/pull/10651
Release Notes, Third Party Advisory https://github.com/redis/redis/releases/tag/6.2.7
Release Notes, Third Party Advisory https://github.com/redis/redis/releases/tag/7.0.0

Similar Threats

Exploit Protection

Help block exploit attempts

BotEraser is designed to detect and help reduce malicious bot traffic that may target known vulnerabilities on your site.

Try BotEraser Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.