Amazon Linux 2023 : device-mapper-multipath, device-mapper-multipath-devel, device-mapper-multipath-libs (ALAS2023-2023-141)

high Nessus Plugin ID 173341

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2023-141 advisory.

- multipath-tools 0.7.0 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited alone or in conjunction with CVE-2022-41973. Local users able to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. This can lead to local privilege escalation to root.
This occurs because an attacker can repeat a keyword, which is mishandled because arithmetic ADD is used instead of bitwise OR. (CVE-2022-41974)

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

Solution

Run 'dnf update --releasever=2023.0.20230322 device-mapper-multipath' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-141.html

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

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

Plugin Details

Severity: High

ID: 173341

File Name: al2023_ALAS2023-2023-141.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/23/2023

Updated: 3/24/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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:L/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-41974

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/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:device-mapper-multipath, p-cpe:/a:amazon:linux:device-mapper-multipath-debuginfo, p-cpe:/a:amazon:linux:device-mapper-multipath-debugsource, p-cpe:/a:amazon:linux:device-mapper-multipath-devel, p-cpe:/a:amazon:linux:device-mapper-multipath-libs, p-cpe:/a:amazon:linux:device-mapper-multipath-libs-debuginfo, p-cpe:/a:amazon:linux:kpartx, p-cpe:/a:amazon:linux:kpartx-debuginfo, p-cpe:/a:amazon:linux:libdmmp, p-cpe:/a:amazon:linux:libdmmp-debuginfo, p-cpe:/a:amazon:linux:libdmmp-devel, cpe:/o:amazon:linux:2023

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: 3/20/2023

Vulnerability Publication Date: 10/25/2022

Reference Information

CVE: CVE-2022-41974