Debian 10249 Published by

A multipath-tools security update has been released for Debian GNU/Linux 10 LTS to address multiple issues that may be used by local attackers to obtain root privileges or create a directories or overwrite files via symlink attacks.



DLA 3250-1: multipath-tools security update


-------------------------------------------------------------------------
Debian LTS Advisory DLA-3250-1 debian-lts@lists.debian.org
  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