# CVE-2022-24735: Lua scripts can be manipulated to overcome ACL rules in Redis

- Severity: Low 3.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.25%, higher than 83% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-27T19:43:27.000Z
- Modified: 2026-09-08T08:48:19.156Z
- Also known as: BIT-KEYDB-2022-24735, BIT-REDIS-2022-24735, BIT-VALKEY-2022-24735, GHSA-647m-2wmq-qmvq
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: < 7.0.0; >= 6.0.0, < 6.2.7; before 6.2.7; 7.0
- fedoraproject fedora: 34; 35; 36
- netapp management_services_for_element_software: no versions given
- netapp management_services_for_netapp_hci: no versions given
- oracle communications_operations_monitor: 4.3; 4.4; 5.0
- keydb (Bitnami): before 6.2.7
- redis (Bitnami): before 6.2.7
- valkey (Bitnami): before 6.2.7

## Every score

- GitHub_M: CVSS:3.1 3.9 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/redis/redis/pull/10651> (exploit, advisory, third-party-advisory, web)
- <https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq> (advisory, third-party-advisory, web)
- <https://github.com/redis/redis/releases/tag/6.2.7> (advisory, release-notes, third-party-advisory, web)
- <https://github.com/redis/redis/releases/tag/7.0.0> (advisory, release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (advisory, patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220715-0003/> (advisory, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202209-17> (advisory, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24735> (web)

## Sources

- CVE List: [CVE-2022-24735](https://www.cve.org/CVERecord?id=CVE-2022-24735), CVE Terms of Use, modified 2025-04-22
- NVD: [CVE-2022-24735](https://nvd.nist.gov/vuln/detail/CVE-2022-24735), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2022-24735](https://osv.dev/vulnerability/BIT-KEYDB-2022-24735), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2022-24735](https://osv.dev/vulnerability/BIT-REDIS-2022-24735), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2022-24735](https://osv.dev/vulnerability/BIT-VALKEY-2022-24735), Apache-2.0, modified 2025-10-14

---

Page: https://cve.day/CVE-2022-24735 · Whole record: https://cve.day/CVE-2022-24735.json · Rebuilt by cve.day 2026-11-25T22:58:11.273Z
