Upstream information

CVE-2022-24735 at MITRE

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.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having low severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.8 3.9
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Access Vector Local Local
Access Complexity Low Low
Privileges Required None Low
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Impact High Low
Integrity Impact High Low
Availability Impact High None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1198952 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Server Applications 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Storage 7.1
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • redis >= 6.0.14-150200.6.11.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP3-2022-1842
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Server Applications 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • redis >= 6.2.6-150400.3.3.7
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP4-2022-1929
openSUSE Leap 15.3
  • redis >= 6.0.14-150200.6.11.1
Patchnames:
openSUSE-SLE-15.3-2022-1842
openSUSE Leap 15.4
  • redis >= 6.2.6-150400.3.3.7
Patchnames:
openSUSE-SLE-15.4-2022-1929
openSUSE Tumbleweed
  • redis >= 6.2.7-1.1
Patchnames:
openSUSE Tumbleweed GA redis-6.2.7-1.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Enterprise Storage 7 redis In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 ESPOS redis In progress
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS redis In progress
SUSE Linux Enterprise High Performance Computing 15 SP3 redis Released
SUSE Linux Enterprise High Performance Computing 15 SP4 redis Released
SUSE Linux Enterprise Module for Server Applications 15 SP3 redis Released
SUSE Linux Enterprise Module for Server Applications 15 SP4 redis Released
SUSE Linux Enterprise Real Time 15 SP2 redis In progress
SUSE Linux Enterprise Server 15 SP2 LTSS redis In progress
SUSE Linux Enterprise Server 15 SP3 redis Released
SUSE Linux Enterprise Server 15 SP4 redis Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 redis In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP2 redis In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP3 redis Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 redis Released
SUSE Linux Enterprise Storage 7.1 redis Released
SUSE Manager Proxy 4.1 redis In progress
SUSE Manager Proxy 4.2 redis Released
SUSE Manager Proxy 4.3 redis Released
SUSE Manager Retail Branch Server 4.1 redis In progress
SUSE Manager Retail Branch Server 4.2 redis Released
SUSE Manager Retail Branch Server 4.3 redis Released
SUSE Manager Server 4.1 redis In progress
SUSE Manager Server 4.2 redis Released
SUSE Manager Server 4.3 redis Released