CVE-2022-41973 Path traversal in n/a
Local attackers can exploit symlink handling in multipathd to write files outside /dev/shm, leading to root privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41973?
CVE-2022-41973 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 29 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-59
Which versions are affected by CVE-2022-41973?
It affects 3 products.
Linux distribution packages (40)
device-mapper-multipath AlmaLinux:8 | All versions | 0.8.4-37.el8 |
device-mapper-multipath-devel AlmaLinux:8 | All versions | 0.8.4-37.el8 |
device-mapper-multipath-libs AlmaLinux:8 | All versions | 0.8.4-37.el8 |
kpartx AlmaLinux:8 | All versions | 0.8.4-37.el8 |
libdmmp AlmaLinux:8 | All versions | 0.8.4-37.el8 |
device-mapper-multipath AlmaLinux:9 | All versions | 0.8.7-20.el9 |
device-mapper-multipath-devel AlmaLinux:9 | All versions | 0.8.7-20.el9 |
device-mapper-multipath-libs AlmaLinux:9 | All versions | 0.8.7-20.el9 |
kpartx AlmaLinux:9 | All versions | 0.8.7-20.el9 |
device-mapper-multipath Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-libs Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-libs-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
kpartx Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
kpartx-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
libdmmp Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
libdmmp-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-devel Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath-libs-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
kpartx-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
libdmmp-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:0.8.4-37.el8 |
device-mapper-multipath Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-debugsource Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-libs Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-libs-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
kpartx Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
kpartx-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
libdmmp-debuginfo Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-debugsource Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-devel Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath-libs-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
kpartx-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
libdmmp-debuginfo Red Hat:enterprise_linux:9::crb | All versions | 0:0.8.7-20.el9 |
device-mapper-multipath Red Hat:rhel_eus:8.6::baseos | All versions | 0:0.8.4-22.el8_6.5 |
device-mapper-multipath-debuginfo Red Hat:rhel_eus:8.6::baseos | All versions | 0:0.8.4-22.el8_6.5 |
Products include Debian Debian Linux, Fedoraproject Fedora, Opensvc Multipath-Tools.
How do I fix CVE-2022-41973?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-41973 being exploited?
There is no known exploitation of CVE-2022-41973 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALSA-2023:2459, ALSA-2023:2948, AZL-11371, DEBIAN-CVE-2022-41973, GHSA-6c7c-85qv-wvgp, OESA-2022-2042 and 5 more.