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: Resolved

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
Attack Vector Local Local
Attack 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 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
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 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 Liberty Linux 8
  • redis >= 6.2.7-1.module+el8.7.0+15197+cc495aeb
  • redis-devel >= 6.2.7-1.module+el8.7.0+15197+cc495aeb
  • redis-doc >= 6.2.7-1.module+el8.7.0+15197+cc495aeb
Patchnames:
RHSA-2022:7541
SUSE Liberty Linux 9
  • redis >= 6.2.7-1.el9
  • redis-devel >= 6.2.7-1.el9
  • redis-doc >= 6.2.7-1.el9
Patchnames:
RHSA-2022:8096
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
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Server Applications 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • redis >= 6.2.6-150400.3.3.7
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP5 GA redis-6.2.6-150400.3.19.1
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. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 redis Released
SUSE Linux Enterprise High Performance Computing 15 SP5 redis Released
SUSE Linux Enterprise High Performance Computing 15 SP5 redis7 Already fixed
SUSE Linux Enterprise Module for Server Applications 15 SP5 redis Released
SUSE Linux Enterprise Module for Server Applications 15 SP5 redis7 Already fixed
SUSE Linux Enterprise Real Time 15 SP3 redis Affected
SUSE Linux Enterprise Server 15 SP5 redis Released
SUSE Linux Enterprise Server 15 SP5 redis7 Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 redis Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 redis Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 redis7 Already fixed
SUSE Manager Proxy 4.3 redis Released
SUSE Manager Retail Branch Server 4.3 redis Released
SUSE Manager Server 4.3 redis Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP2 redis Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS redis Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS redis Affected
SUSE Linux Enterprise High Performance Computing 15 SP3 redis Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS redis Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS redis Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 redis Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS redis Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS redis Affected
SUSE Linux Enterprise Module for Server Applications 15 SP2 redis Affected
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 Server 15 SP2 redis Affected
SUSE Linux Enterprise Server 15 SP2-LTSS redis Affected
SUSE Linux Enterprise Server 15 SP3 redis Released
SUSE Linux Enterprise Server 15 SP3-LTSS redis Affected
SUSE Linux Enterprise Server 15 SP4 redis Released
SUSE Linux Enterprise Server 15 SP4-LTSS redis Affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 redis Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP2 redis Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 redis Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 7 redis Affected
SUSE Linux Enterprise Real Time 15 SP2 redis Unsupported
SUSE Linux Enterprise Real Time 15 SP4 redis Affected
SUSE Linux Enterprise Server 15 SP2-BCL redis Affected
SUSE Linux Enterprise Server 15 SP3-BCL redis Affected
SUSE Manager Proxy 4.1 redis Unsupported
SUSE Manager Proxy 4.2 redis Released
SUSE Manager Retail Branch Server 4.1 redis Unsupported
SUSE Manager Retail Branch Server 4.2 redis Released
SUSE Manager Server 4.1 redis Unsupported
SUSE Manager Server 4.2 redis Released


SUSE Timeline for this CVE

CVE page created: Wed Apr 27 23:15:25 2022
CVE page last modified: Tue Jan 2 15:24:42 2024