CVEfocus › CVE database › CVE-2022-41974

CVE-2022-41974

EPSS 0.5% (higher than 39% of CVEs)Published 2022-10-29Updated 2024-08-03Assigner: mitre

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

20Fixed
2Will not fix
3Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04multipath-toolsFixed0.8.8-1ubuntu1.22.04.1UBUNTU-CVE-2022-41974
Ubuntu 20.04multipath-toolsFixed0.8.3-1ubuntu2.1UBUNTU-CVE-2022-41974
Ubuntu 18.04multipath-toolsFixed0.7.4-2ubuntu3.2UBUNTU-CVE-2022-41974
Ubuntu 16.04multipath-toolsWill 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.04multipath-toolsWill 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 14multipath-toolsFixed0.9.4-1DEBIAN-CVE-2022-41974
Debian 13multipath-toolsFixed0.9.4-1DEBIAN-CVE-2022-41974
Debian 12multipath-toolsFixed0.9.4-1DEBIAN-CVE-2022-41974
Red Hat Enterprise Linux 9device-mapper-multipathFixed0:0.8.7-7.el9_0.1RHSA-2022:7185
Red Hat Enterprise Linux 8device-mapper-multipathFixed0:0.8.4-22.el8_6.2RHSA-2022:7192
Red Hat Enterprise Linux 7device-mapper-multipathFixed0:0.4.9-136.el7_9RHSA-2022:7186
Red Hat Enterprise Linux 6device-mapper-multipathNot affected
Red Hat Enterprise Linux 6device-mapper-multipath-libsNot affected
Red Hat Enterprise Linux 6kpartxNot affected
AlmaLinux 9device-mapper-multipathFixed0.8.7-7.el9_0.1ALSA-2022:8453
AlmaLinux 9device-mapper-multipath-develFixed0.8.7-7.el9_0.1ALSA-2022:7185
AlmaLinux 9device-mapper-multipath-libsFixed0.8.7-7.el9_0.1ALSA-2022:7185
AlmaLinux 9kpartxFixed0.8.7-7.el9_0.1ALSA-2022:7185
AlmaLinux 8device-mapper-multipathFixed0.8.4-22.el8_6.2ALSA-2022:7928
AlmaLinux 8device-mapper-multipath-develFixed0.8.4-22.el8_6.2ALSA-2022:7192
AlmaLinux 8device-mapper-multipath-libsFixed0.8.4-22.el8_6.2ALSA-2022:7192
AlmaLinux 8kpartxFixed0.8.4-22.el8_6.2ALSA-2022:7192
AlmaLinux 8libdmmpFixed0.8.4-22.el8_6.2ALSA-2022:7192
Rocky Linux 9device-mapper-multipathFixed0:0.8.7-7.el9_0.1RLSA-2022:7185
Rocky Linux 8device-mapper-multipathFixed0:0.8.4-22.el8_6.2RLSA-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:

References

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.