Amazon Linux 2 : redis (ALASREDIS6-2023-003)

high Nessus Plugin ID 182023

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of redis installed on the remote host is prior to 6.2.7-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2REDIS6-2023-003 advisory.

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)

A flaw was found in the Redis database when a malformed Lua script can cause a NULL pointer dereference.
This flaw allows an attacker to load a crafting script, which results in a crash of the redis-server process. (CVE-2022-24736)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update redis' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALASREDIS6-2023-003.html

https://alas.aws.amazon.com/cve/html/CVE-2022-24735.html

https://alas.aws.amazon.com/cve/html/CVE-2022-24736.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 182023

File Name: al2_ALASREDIS6-2023-003.nasl

Version: 1.2

Type: local

Agent: unix

Published: 9/27/2023

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24735

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:redis-doc, p-cpe:/a:amazon:linux:redis, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:redis-devel, p-cpe:/a:amazon:linux:redis-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/21/2023

Vulnerability Publication Date: 4/27/2022

Reference Information

CVE: CVE-2022-24735, CVE-2022-24736