CVE-2022-41974 Privilege escalation in n/a

High 7.8 Published Updated

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:8All versions0.8.4-22.el8_6.2
device-mapper-multipath-devel AlmaLinux:8All versions0.8.4-22.el8_6.2
device-mapper-multipath-libs AlmaLinux:8All versions0.8.4-22.el8_6.2
kpartx AlmaLinux:8All versions0.8.4-22.el8_6.2
libdmmp AlmaLinux:8All versions0.8.4-22.el8_6.2
device-mapper-multipath AlmaLinux:9All versions0.8.7-7.el9_0.1
device-mapper-multipath-devel AlmaLinux:9All versions0.8.7-7.el9_0.1
device-mapper-multipath-libs AlmaLinux:9All versions0.8.7-7.el9_0.1
kpartx AlmaLinux:9All versions0.8.7-7.el9_0.1
device-mapper-multipath Red Hat:enterprise_linux:7::clientAll versions0:0.4.9-136.el7_9
device-mapper-multipath Red Hat:enterprise_linux:7::serverAll versions0:0.4.9-136.el7_9
device-mapper-multipath Red Hat:enterprise_linux:7::workstationAll versions0:0.4.9-136.el7_9
device-mapper-multipath Red Hat:enterprise_linux:8::baseosAll versions0:0.8.4-22.el8_6.2
device-mapper-multipath Red Hat:enterprise_linux:9::baseosAll versions0:0.8.7-7.el9_0.1
device-mapper-multipath Red Hat:rhel_e4s:8.1::baseosAll versions0:0.8.0-5.el8_1.1
device-mapper-multipath Red Hat:rhel_eus:8.2::baseosAll versions0:0.8.3-3.el8_2.7
device-mapper-multipath Red Hat:rhel_eus:8.4::baseosAll versions0:0.8.4-10.el8_4.4
device-mapper-multipath Rocky Linux:8All versions0:0.8.4-22.el8_6.2
device-mapper-multipath Rocky Linux:9All versions0:0.8.7-7.el9_0.1
multipath-tools SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.7.3+173+suse.7dd1b01-150000.3.29.1
multipath-tools SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.7.3+173+suse.7dd1b01-150000.3.29.1
multipath-tools SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.6.2+suse20221017.514d453-71.26.1
multipath-tools SUSE:Linux Enterprise Server 12 SP3-BCLAll versions0.7.1+125+suse.c18e287-2.23.1
multipath-tools SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions0.7.3+177+suse.b16d5dc-2.23.1
multipath-tools SUSE:Linux Enterprise Server 15-LTSSAll versions0.7.3+173+suse.7dd1b01-150000.3.29.1
multipath-tools SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.7.3+177+suse.b16d5dc-2.23.1
multipath-tools SUSE:Linux Enterprise Server for SAP Applications 15All versions0.7.3+173+suse.7dd1b01-150000.3.29.1
multipath-tools SUSE:OpenStack Cloud 9All versions0.7.3+177+suse.b16d5dc-2.23.1
multipath-tools SUSE:OpenStack Cloud Crowbar 9All versions0.7.3+177+suse.b16d5dc-2.23.1
multipath-tools openSUSE:Leap 15.3All versions0.7.3+173+suse.7dd1b01-150000.3.29.1
multipath-tools openSUSE:Leap 15.4All versions0.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.

All Debian Debian Linux vulnerabilities

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.

Is CVE-2022-41974 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free