7.8
HIGH
CVE-2022-24735
Redis Lua Script Privilege Escalation Vulnerability
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.

INFO

Published Date :

April 27, 2022, 8:15 p.m.

Last Modified :

Nov. 21, 2024, 6:50 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2022-24735 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netapp management_services_for_element_software
2 Netapp management_services_for_netapp_hci
1 Fedoraproject fedora
1 Redis redis
1 Oracle communications_operations_monitor
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-24735.

URL Resource
https://github.com/redis/redis/pull/10651 Exploit 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 Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
https://security.gentoo.org/glsa/202209-17 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220715-0003/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Patch Third Party Advisory
https://github.com/redis/redis/pull/10651 Exploit 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 Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
https://security.gentoo.org/glsa/202209-17 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220715-0003/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-24735 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-24735 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/redis/redis/pull/10651
    Added Reference https://github.com/redis/redis/releases/tag/6.2.7
    Added Reference https://github.com/redis/redis/releases/tag/7.0.0
    Added Reference https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
    Added Reference https://security.gentoo.org/glsa/202209-17
    Added Reference https://security.netapp.com/advisory/ntap-20220715-0003/
    Added Reference https://www.oracle.com/security-alerts/cpujul2022.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/ [No types assigned]
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/ [No types assigned]
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/ [No types assigned]
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
  • Modified Analysis by [email protected]

    Oct. 07, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202209-17 No Types Assigned https://security.gentoo.org/glsa/202209-17 Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20220715-0003/ No Types Assigned https://security.netapp.com/advisory/ntap-20220715-0003/ Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpujul2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujul2022.html Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:* *cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Sep. 29, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202209-17 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 25, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 15, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20220715-0003/ [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 09, 2022

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/redis/redis/pull/10651 No Types Assigned https://github.com/redis/redis/pull/10651 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/redis/redis/releases/tag/6.2.7 No Types Assigned https://github.com/redis/redis/releases/tag/6.2.7 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/redis/redis/releases/tag/7.0.0 No Types Assigned https://github.com/redis/redis/releases/tag/7.0.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq No Types Assigned https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/ Mailing List, Third Party Advisory
    Added CWE NIST CWE-94
    Added CPE Configuration OR *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions up to (excluding) 6.2.7 *cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:* *cpe:2.3:a:redis:redis:7.0:rc2:*:*:*:*:*:* *cpe:2.3:a:redis:redis:7.0:rc3:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 08, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/ [No Types Assigned]
  • CVE Modified by [email protected]

    May. 07, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/ [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 28, 2022

    Action Type Old Value New Value
    Removed CWE GitHub, Inc. CWE-74
    Added CWE GitHub, Inc. CWE-94
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-24735 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-24735 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.22 }} -0.01%

score

0.59493

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability