Debian dla-3250 : kpartx - security update

high Nessus Plugin ID 169428

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3250 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3250-1 [email protected] https://www.debian.org/lts/security/ Tobias Frost December 29, 2022 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : multipath-tools Version : 0.7.9-3+deb10u2 CVE ID : CVE-2022-41973 CVE-2022-41974 Debian Bug : 1022742

Multiple issues were found in multipath-tools, a tool-chain to manage disk multipath device maps, which may be used by local attackers to obtain root privileges or create a directories or overwrite files via symlink attacks.

Please note that the fix for CVE-2022-41973 involves switching from /dev/shm to systemd-tmpfiles (/run/multipath-tools).
If you have previously accesssed /dev/shm directly, please update your setup to the new path to facilitate this change.


CVE-2022-41973

multipath-tools 0.7.7 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited in conjunction with CVE-2022-41974.
Local users able to access /dev/shm can change symlinks in multipathd due to incorrect symlink handling, which could lead to controlled file writes outside of the /dev/shm directory. This could be used indirectly for local privilege escalation to root.

CVE-2022-41974

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.

For Debian 10 buster, these problems have been fixed in version 0.7.9-3+deb10u2.

We recommend that you upgrade your multipath-tools packages.

For the detailed security status of multipath-tools please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/multipath-tools

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the kpartx packages.

See Also

http://www.nessus.org/u?83ad3989

https://security-tracker.debian.org/tracker/CVE-2022-41973

https://security-tracker.debian.org/tracker/CVE-2022-41974

https://packages.debian.org/source/buster/multipath-tools

Plugin Details

Severity: High

ID: 169428

File Name: debian_DLA-3250.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/30/2022

Updated: 1/22/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous 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:debian:debian_linux:kpartx, p-cpe:/a:debian:debian_linux:multipath-tools, p-cpe:/a:debian:debian_linux:multipath-tools-boot, cpe:/o:debian:debian_linux:10.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2022

Vulnerability Publication Date: 10/25/2022

Reference Information

CVE: CVE-2022-41973, CVE-2022-41974