ALAS2023-2023-064


Amazon Linux 2023 Security Advisory: ALAS2023-2023-064
Advisory Released Date: 2023-03-22
Advisory Updated Date: 2023-03-22
Severity: Low

Issue Overview:

A flaw was found in the Redis database where Lua scripts can be manipulated to overcome ACL rules. This flaw allows an attacker with access to Redis to inject Lua code that executes the potentially higher privileges of another Redis user. (CVE-2022-24735)

Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. 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. (CVE-2022-24736)


Affected Packages:

redis6


Issue Correction:
Run dnf update redis6 --releasever 2023.0.20230322 or dnf update --advisory ALAS2023-2023-064 --releasever 2023.0.20230322 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation

New Packages:
aarch64:
    redis6-debuginfo-6.2.7-1.amzn2023.0.3.aarch64
    redis6-devel-6.2.7-1.amzn2023.0.3.aarch64
    redis6-6.2.7-1.amzn2023.0.3.aarch64
    redis6-debugsource-6.2.7-1.amzn2023.0.3.aarch64

noarch:
    redis6-doc-6.2.7-1.amzn2023.0.3.noarch

src:
    redis6-6.2.7-1.amzn2023.0.3.src

x86_64:
    redis6-debuginfo-6.2.7-1.amzn2023.0.3.x86_64
    redis6-devel-6.2.7-1.amzn2023.0.3.x86_64
    redis6-6.2.7-1.amzn2023.0.3.x86_64
    redis6-debugsource-6.2.7-1.amzn2023.0.3.x86_64