CVE-2022-41974 Privilege escalation in n/a
Local attackers can escalate privileges to root by exploiting a logic error in multipath-tools keyword handling via UNIX domain sockets.
- 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-41974?
CVE-2022-41974 is a high-severity 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.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.
Weakness: CWE-269
Which versions are affected by CVE-2022-41974?
It affects 3 products.
Linux distribution packages (31)
device-mapper-multipath AlmaLinux:8 | All versions | 0.8.4-22.el8_6.2 |
device-mapper-multipath-devel AlmaLinux:8 | All versions | 0.8.4-22.el8_6.2 |
device-mapper-multipath-libs AlmaLinux:8 | All versions | 0.8.4-22.el8_6.2 |
kpartx AlmaLinux:8 | All versions | 0.8.4-22.el8_6.2 |
libdmmp AlmaLinux:8 | All versions | 0.8.4-22.el8_6.2 |
device-mapper-multipath AlmaLinux:9 | All versions | 0.8.7-7.el9_0.1 |
device-mapper-multipath-devel AlmaLinux:9 | All versions | 0.8.7-7.el9_0.1 |
device-mapper-multipath-libs AlmaLinux:9 | All versions | 0.8.7-7.el9_0.1 |
kpartx AlmaLinux:9 | All versions | 0.8.7-7.el9_0.1 |
device-mapper-multipath Red Hat:enterprise_linux:7::client | All versions | 0:0.4.9-136.el7_9 |
device-mapper-multipath Red Hat:enterprise_linux:7::server | All versions | 0:0.4.9-136.el7_9 |
device-mapper-multipath Red Hat:enterprise_linux:7::workstation | All versions | 0:0.4.9-136.el7_9 |
device-mapper-multipath Red Hat:enterprise_linux:8::baseos | All versions | 0:0.8.4-22.el8_6.2 |
device-mapper-multipath Red Hat:enterprise_linux:9::baseos | All versions | 0:0.8.7-7.el9_0.1 |
device-mapper-multipath Red Hat:rhel_e4s:8.1::baseos | All versions | 0:0.8.0-5.el8_1.1 |
device-mapper-multipath Red Hat:rhel_eus:8.2::baseos | All versions | 0:0.8.3-3.el8_2.7 |
device-mapper-multipath Red Hat:rhel_eus:8.4::baseos | All versions | 0:0.8.4-10.el8_4.4 |
device-mapper-multipath Rocky Linux:8 | All versions | 0:0.8.4-22.el8_6.2 |
device-mapper-multipath Rocky Linux:9 | All versions | 0:0.8.7-7.el9_0.1 |
multipath-tools SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
multipath-tools SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
multipath-tools SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 0.6.2+suse20221017.514d453-71.26.1 |
multipath-tools SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 0.7.1+125+suse.c18e287-2.23.1 |
multipath-tools SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 0.7.3+177+suse.b16d5dc-2.23.1 |
multipath-tools SUSE:Linux Enterprise Server 15-LTSS | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
multipath-tools SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 0.7.3+177+suse.b16d5dc-2.23.1 |
multipath-tools SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
multipath-tools SUSE:OpenStack Cloud 9 | All versions | 0.7.3+177+suse.b16d5dc-2.23.1 |
multipath-tools SUSE:OpenStack Cloud Crowbar 9 | All versions | 0.7.3+177+suse.b16d5dc-2.23.1 |
multipath-tools openSUSE:Leap 15.3 | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
multipath-tools openSUSE:Leap 15.4 | All versions | 0.7.3+173+suse.7dd1b01-150000.3.29.1 |
Products include Debian Debian Linux, Fedoraproject Fedora, Opensvc Multipath-Tools.
How do I fix CVE-2022-41974?
Upgrade to a fixed version.
Is CVE-2022-41974 being exploited?
There is no known exploitation of CVE-2022-41974 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALSA-2022:7185, ALSA-2022:7192, AZL-11373, DEBIAN-CVE-2022-41974, GHSA-46cw-54vx-86g5, OESA-2022-2050 and 13 more.