CVE-2022-24735
Last modified
CVE-2022-24735 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 2.19% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Redis | Redis | < 6.2.7 | — |
| Redis | Redis | 7.0 | Rc1 |
| Fedoraproject | Fedora | 34 | — |
| Fedoraproject | Fedora | 35 | — |
| Fedoraproject | Fedora | 36 | — |
| Netapp | Management Services For Element Software | All versions | — |
| Netapp | Management Services For Netapp Hci | All versions | — |
| Oracle | Communications Operations Monitor | 4.3 | — |
| Oracle | Communications Operations Monitor | 4.4 | — |
| Oracle | Communications Operations Monitor | 5.0 | — |
References
- https://github.com/redis/redis/pull/10651Exploit, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.7Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.0Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvqThird Party Advisory
- https://security.gentoo.org/glsa/202209-17Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220715-0003/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
- https://github.com/redis/redis/pull/10651Exploit, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.7Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.0Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvqThird Party Advisory
- https://security.gentoo.org/glsa/202209-17Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220715-0003/Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24735?
How severe is CVE-2022-24735?
How do I fix CVE-2022-24735?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-2473The WP-UserOnline plugin for WordPress is vulnerable to Stor…4.8
- CVE-2022-24730Argo CD is a declarative, GitOps continuous delivery tool fo…6.5
- CVE-2022-24731Argo CD is a declarative, GitOps continuous delivery tool fo…4.9
- CVE-2022-24732Maddy Mail Server is an open source SMTP compatible email se…8.8
- CVE-2022-24733Sylius is an open source eCommerce platform. Prior to versio…6.1
- CVE-2022-24734MyBB is a free and open source forum software. In affected v…7.2
- CVE-2022-24736Redis is an in-memory database that persists on disk. Prior …5.5
- CVE-2022-24737HTTPie is a command-line HTTP client. HTTPie has the practic…6.5
- CVE-2022-24738Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmo…7.4
- CVE-2022-24739alltube is an html front end for youtube-dl. On releases pri…6.1
- CVE-2022-2474Authentication is currently unsupported in Haas Controller v…8
- CVE-2022-24740Volto is a ReactJS-based frontend for the Plone Content Mana…7.5
Are you affected by CVE-2022-24735?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
