{"id":"UBUNTU-CVE-2022-41974","details":"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.","modified":"2026-02-04T03:33:41.072524Z","published":"2022-10-24T15:00:00Z","related":["USN-5731-1"],"upstream":["CVE-2022-41974"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-41974"},{"type":"REPORT","url":"https://www.qualys.com/2022/10/24/leeloo-multipath/leeloo-multipath.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5731-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-41974"}],"affected":[{"package":{"name":"multipath-tools","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/multipath-tools@0.4.9-3ubuntu7.16?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.9-3ubuntu7","0.4.9-3ubuntu7.2","0.4.9-3ubuntu7.4","0.4.9-3ubuntu7.6","0.4.9-3ubuntu7.7","0.4.9-3ubuntu7.9","0.4.9-3ubuntu7.11","0.4.9-3ubuntu7.12","0.4.9-3ubuntu7.13","0.4.9-3ubuntu7.14","0.4.9-3ubuntu7.15","0.4.9-3ubuntu7.16"],"ecosystem_specific":{"binaries":[{"binary_name":"kpartx","binary_version":"0.4.9-3ubuntu7.16"},{"binary_name":"kpartx-boot","binary_version":"0.4.9-3ubuntu7.16"},{"binary_version":"0.4.9-3ubuntu7.16","binary_name":"multipath-tools"},{"binary_name":"multipath-tools-boot","binary_version":"0.4.9-3ubuntu7.16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41974.json"}},{"package":{"name":"multipath-tools","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/multipath-tools@0.5.0+git1.656f8865-5ubuntu2.5?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.0-7ubuntu7","0.5.0-7ubuntu8","0.5.0-7ubuntu9","0.5.0-7ubuntu10","0.5.0-7ubuntu11","0.5.0-7ubuntu12","0.5.0-7ubuntu14","0.5.0-7ubuntu15","0.5.0-7ubuntu16","0.5.0+git1.656f8865-5ubuntu1","0.5.0+git1.656f8865-5ubuntu2","0.5.0+git1.656f8865-5ubuntu2.1","0.5.0+git1.656f8865-5ubuntu2.2","0.5.0+git1.656f8865-5ubuntu2.3","0.5.0+git1.656f8865-5ubuntu2.4","0.5.0+git1.656f8865-5ubuntu2.5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.0+git1.656f8865-5ubuntu2.5","binary_name":"kpartx"},{"binary_name":"kpartx-boot","binary_version":"0.5.0+git1.656f8865-5ubuntu2.5"},{"binary_name":"multipath-tools","binary_version":"0.5.0+git1.656f8865-5ubuntu2.5"},{"binary_name":"multipath-tools-boot","binary_version":"0.5.0+git1.656f8865-5ubuntu2.5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41974.json"}},{"package":{"name":"multipath-tools","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/multipath-tools@0.7.4-2ubuntu3.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.4-2ubuntu3.2"}]}],"versions":["0.6.4-5ubuntu1","0.7.4-2ubuntu1","0.7.4-2ubuntu3","0.7.4-2ubuntu3.1"],"ecosystem_specific":{"binaries":[{"binary_name":"kpartx","binary_version":"0.7.4-2ubuntu3.2"},{"binary_name":"kpartx-boot","binary_version":"0.7.4-2ubuntu3.2"},{"binary_name":"multipath-tools","binary_version":"0.7.4-2ubuntu3.2"},{"binary_version":"0.7.4-2ubuntu3.2","binary_name":"multipath-tools-boot"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41974.json"}},{"package":{"name":"multipath-tools","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/multipath-tools@0.8.3-1ubuntu2.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.3-1ubuntu2.1"}]}],"versions":["0.7.9-3ubuntu6","0.7.9-3ubuntu7","0.8.3-1ubuntu1","0.8.3-1ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"kpartx","binary_version":"0.8.3-1ubuntu2.1"},{"binary_version":"0.8.3-1ubuntu2.1","binary_name":"kpartx-boot"},{"binary_name":"multipath-tools","binary_version":"0.8.3-1ubuntu2.1"},{"binary_name":"multipath-tools-boot","binary_version":"0.8.3-1ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41974.json"}},{"package":{"name":"multipath-tools","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/multipath-tools@0.8.8-1ubuntu1.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.8-1ubuntu1.22.04.1"}]}],"versions":["0.8.5-2ubuntu2","0.8.5-2ubuntu3","0.8.8-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"kpartx","binary_version":"0.8.8-1ubuntu1.22.04.1"},{"binary_name":"kpartx-boot","binary_version":"0.8.8-1ubuntu1.22.04.1"},{"binary_name":"multipath-tools","binary_version":"0.8.8-1ubuntu1.22.04.1"},{"binary_name":"multipath-tools-boot","binary_version":"0.8.8-1ubuntu1.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-41974.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}