CVE-2022-24735
CVSS v3
7.8
HIGH
EPSS Score
2.3 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for redis.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- keydbBitnamiall versions · fixed in 6.2.7and 2 other packages
- redisAlmaLinux:9all versions · fixed in 6.2.7-1.el9and 2 other packages
- redisAlmaLinux:8all versions · fixed in 6.2.7-1.module_el8.7.0+3288+a82c1b48and 2 other packages
Vendor advisories
redis: Code injection via Lua script execution environment
redis as a component of Red Hat 3scale API Management Platform 2 · rhacm2/redisgraph-tls-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · rhacm2/search-api-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2
Red Hat Security Advisory: redis security and bug fix update
Red Hat Security Advisory: redis:6 security, bug fix, and enhancement update
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.
Technical details
- Published
- 2022-04-27
Frequently asked questions
What is CVE-2022-24735?
Is CVE-2022-24735 actively exploited?
What is the CVSS score for CVE-2022-24735?
Running redis? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.