Amazon Linux 2023 : redis6 (ALAS2023-2024-513)

low Nessus Plugin ID 190078

Synopsis

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

Description

The version of redis6 installed on the remote host is prior to 6.2.14-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2024-513 advisory.

- Redis is an in-memory database that persists on disk. On startup, Redis begins listening on a Unix socket before adjusting its permissions to the user-provided configuration. If a permissive umask(2) is used, this creates a race condition that enables, during a short period of time, another process to establish an otherwise unauthorized connection. This problem has existed since Redis 2.6.0-RC1. This issue has been addressed in Redis versions 7.2.2, 7.0.14 and 6.2.14. Users are advised to upgrade. For users unable to upgrade, it is possible to work around the problem by disabling Unix sockets, starting Redis with a restrictive umask, or storing the Unix socket file in a protected directory. (CVE-2023-45145)

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

Solution

Run 'yum update redis6' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2024-513.html

https://alas.aws.amazon.com/cve/html/CVE-2023-45145.html

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

Plugin Details

Severity: Low

ID: 190078

File Name: al2023_ALAS2023-2024-513.nasl

Version: 1.0

Type: local

Agent: unix

Published: 2/6/2024

Updated: 2/6/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Low

Base Score: 2.4

Temporal Score: 1.8

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2023-45145

CVSS v3

Risk Factor: Low

Base Score: 3.6

Temporal Score: 3.2

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:redis6, p-cpe:/a:amazon:linux:redis6-debuginfo, p-cpe:/a:amazon:linux:redis6-debugsource, p-cpe:/a:amazon:linux:redis6-devel, p-cpe:/a:amazon:linux:redis6-doc, cpe:/o:amazon:linux:2023

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/1/2024

Vulnerability Publication Date: 10/18/2023

Reference Information

CVE: CVE-2023-45145