---
title: "CVE-2022-24735\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-24735?format=md
keywords: index, follow
---

# CVE-2022-24735

Publication date 27 April 2022

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**3.9 · Low**

[Score breakdown](https://ubuntu.com/security/CVE-2022-24735?format=md#impact-score)

Toggle side navigation

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| redis | 25.10 questing | Not affected |
| 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Not affected |
| 23.10 mantic | Not affected |
| 23.04 lunar | Ignored end of life, was needs-triage |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Not affected |
| 21.10 impish | Ignored end of life |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

3.9 · Low

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | Low |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 3.9 · Low |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24735)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-24735)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-24735)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-24735)

### Other references

* <https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq>
* <https://github.com/redis/redis/pull/10651>
* <https://github.com/redis/redis/releases/tag/7.0.0>
* <https://github.com/redis/redis/releases/tag/6.2.7>
* <https://www.cve.org/CVERecord?id=CVE-2022-24735>
