CVE & CISA-KEV Catalog

CVE-2022-24735

LOWEPSS 80th pctl
3.9
CVSS v3
NVD

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.

How to fix

Remediation Available
redisDebian
Fixed in:5:7.0.1-4CVE-2022-24735
Fixed in:5:7.0.1-4CVE-2022-24735
Fixed in:5:7.0.1-4CVE-2022-24735
Redis on WindowsWindows application
Affected:6.2.7Fixed in:6.2.7MSOpenTech

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Exploit Intelligence

2.19%probability of exploitation in 30 days
80thpercentile

Elevated risk: more likely to be exploited than 80% of all known CVEs.

References

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2021-22204Medium6.8100%KEVFix
CVE-2025-3248Critical9.8100%KEVFix
CVE-2012-0158High8.8100%KEV-
Embed a live status badge for CVE-2022-24735
CVE-2022-24735 severity badge

Markdown

[![CVE-2022-24735](https://tridentstack.com/cve/badge/CVE-2022-24735.svg)](https://tridentstack.com/cve/CVE-2022-24735)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-24735"><img src="https://tridentstack.com/cve/badge/CVE-2022-24735.svg" alt="CVE-2022-24735"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.