Debian DLA-3627-1 : redis - LTS security update

low Nessus Plugin ID 183748

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3627 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

Upgrade the redis packages.

For Debian 10 Buster, this problem has been fixed in version 5

See Also

https://www.debian.org/lts/security/2023/dla-3627

https://security-tracker.debian.org/tracker/CVE-2023-45145

https://packages.debian.org/source/buster/redis

Plugin Details

Severity: Low

ID: 183748

File Name: debian_DLA-3627.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/23/2023

Updated: 10/31/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, 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:debian:debian_linux:redis, p-cpe:/a:debian:debian_linux:redis-sentinel, p-cpe:/a:debian:debian_linux:redis-server, p-cpe:/a:debian:debian_linux:redis-tools, cpe:/o:debian:debian_linux:10.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 10/23/2023

Vulnerability Publication Date: 10/18/2023

Reference Information

CVE: CVE-2023-45145