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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | multipath-tools | Fixed | 0.8.8-1ubuntu1.22.04.1 | UBUNTU-CVE-2022-41974 |
| Ubuntu 20.04 | multipath-tools | Fixed | 0.8.3-1ubuntu2.1 | UBUNTU-CVE-2022-41974 |
| Ubuntu 18.04 | multipath-tools | Fixed | 0.7.4-2ubuntu3.2 | UBUNTU-CVE-2022-41974 |
| Ubuntu 16.04 | multipath-tools | Will not fix introduced in version 0.7.0 via commit 9acda0c but earlier versions do no authorization checks at all and are then technically also vulnerable earlier… | UBUNTU-CVE-2022-41974 | |
| Ubuntu 14.04 | multipath-tools | Will not fix introduced in version 0.7.0 via commit 9acda0c but earlier versions do no authorization checks at all and are then technically also vulnerable earlier… | UBUNTU-CVE-2022-41974 | |
| Debian 14 | multipath-tools | Fixed | 0.9.4-1 | DEBIAN-CVE-2022-41974 |
| Debian 13 | multipath-tools | Fixed | 0.9.4-1 | DEBIAN-CVE-2022-41974 |
| Debian 12 | multipath-tools | Fixed | 0.9.4-1 | DEBIAN-CVE-2022-41974 |
| Red Hat Enterprise Linux 9 | device-mapper-multipath | Fixed | 0:0.8.7-7.el9_0.1 | RHSA-2022:7185 |
| Red Hat Enterprise Linux 8 | device-mapper-multipath | Fixed | 0:0.8.4-22.el8_6.2 | RHSA-2022:7192 |
| Red Hat Enterprise Linux 7 | device-mapper-multipath | Fixed | 0:0.4.9-136.el7_9 | RHSA-2022:7186 |
| Red Hat Enterprise Linux 6 | device-mapper-multipath | Not affected | ||
| Red Hat Enterprise Linux 6 | device-mapper-multipath-libs | Not affected | ||
| Red Hat Enterprise Linux 6 | kpartx | Not affected | ||
| AlmaLinux 9 | device-mapper-multipath | Fixed | 0.8.7-7.el9_0.1 | ALSA-2022:8453 |
| AlmaLinux 9 | device-mapper-multipath-devel | Fixed | 0.8.7-7.el9_0.1 | ALSA-2022:7185 |
| AlmaLinux 9 | device-mapper-multipath-libs | Fixed | 0.8.7-7.el9_0.1 | ALSA-2022:7185 |
| AlmaLinux 9 | kpartx | Fixed | 0.8.7-7.el9_0.1 | ALSA-2022:7185 |
| AlmaLinux 8 | device-mapper-multipath | Fixed | 0.8.4-22.el8_6.2 | ALSA-2022:7928 |
| AlmaLinux 8 | device-mapper-multipath-devel | Fixed | 0.8.4-22.el8_6.2 | ALSA-2022:7192 |
| AlmaLinux 8 | device-mapper-multipath-libs | Fixed | 0.8.4-22.el8_6.2 | ALSA-2022:7192 |
| AlmaLinux 8 | kpartx | Fixed | 0.8.4-22.el8_6.2 | ALSA-2022:7192 |
| AlmaLinux 8 | libdmmp | Fixed | 0.8.4-22.el8_6.2 | ALSA-2022:7192 |
| Rocky Linux 9 | device-mapper-multipath | Fixed | 0:0.8.7-7.el9_0.1 | RLSA-2022:7185 |
| Rocky Linux 8 | device-mapper-multipath | Fixed | 0:0.8.4-22.el8_6.2 | RLSA-2022:7192 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2023/dsa-5366 (vendor-advisory)
- https://security.gentoo.org/glsa/202311-06 (vendor-advisory)
References
- https://bugzilla.suse.com/show_bug.cgi?id=1202739
- https://github.com/opensvc/multipath-tools/releases/tag/0.9.2
- http://www.openwall.com/lists/oss-security/2022/10/24/2
- http://seclists.org/fulldisclosure/2022/Oct/25
- http://packetstormsecurity.com/files/169611/Leeloo-Multipath-Authorization-Bypass-Symlink-Attack.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIGZM5NOOMFDCITOLQEJNNX5SCRQLQVV/
- https://www.qualys.com/2022/10/24/leeloo-multipath/leeloo-multipath.txt
- http://www.openwall.com/lists/oss-security/2022/11/30/2
- http://seclists.org/fulldisclosure/2022/Dec/4
- http://packetstormsecurity.com/files/170176/snap-confine-must_mkdir_and_open_with_perms-Race-Condition.html
- https://lists.debian.org/debian-lts-announce/2022/12/msg00037.html
- https://www.debian.org/security/2023/dsa-5366
- https://security.gentoo.org/glsa/202311-06
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.