7.8

CVE-2022-24735: fedoraproject fedora Code Injection

CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2022-24735UBUNTU-CVE-2022-24735DEBIAN-CVE-2022-24735
Published 27-04-2022Last modified 22-04-2025

Vulnerability summary

CVE-2022-24735 is a high (CVSS 7.8) Code Injection vulnerability in fedoraproject fedora. EPSS estimates a 2.26% chance of exploitation in the next 30 days, higher than 82.7% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
42/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
2.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 6 · Related 3

Timeline

  1. 27-04-2022
    PublishedVulnerability first disclosed.
  2. 22-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.26%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

0.00 pp

From 2.26% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Redis

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Netapp2 products
Alpine1 product
  • redis< 6.2.7-r0
Debian1 product
  • redis< 5:7.0.1-4
Fedoraproject1 product
Oracle1 product
Redis1 product
  • redis< 7.0.0 | ≥ 6.0.0, < 6.2.7 | < 6.2.7 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3
Ubuntu1 product
  • redisAll versions (No fix recorded)

7 vendors · 8 products

References

15 links
Show all 15 references