Local Privilege Escalation in Multipath-Tools: CVE-2022-41974

multipath-tools Updated 02 Oct 2025

Summary

29/10/2022
N/A
Yes i
High
7.8

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. Affects multipath-tools across 2 version ranges.

< 0.8.5-2+deb11u1 < 66664cdb52f548b821b2ea28e49613c068e9375d

Fixed in 0.8.5-2+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Multipath-tools is a package used in Linux environments to manage multiple paths to storage devices, enhancing redundancy and performance. It is crucial for systems that require high availability and reliability in data access. The package allows for configuration and management of multipath devices, but it has been found to have vulnerabilities that can be exploited by local users.

Vulnerability Detail

CVE-2022-41974 is a vulnerability in multipath-tools versions 0.7.0 through 0.9.x before 0.9.2 that allows local users to gain root access. This vulnerability can be exploited alone or in conjunction with CVE-2022-41973. The issue arises when local users, who can write to UNIX domain sockets, bypass access controls and manipulate the multipath setup. The vulnerability stems from the mishandling of a repeated keyword due to the use of arithmetic ADD instead of bitwise OR, leading to potential local privilege escalation.

How To Fix

Minimum fixed version

0.8.5-2+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade multipath-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not possible, consider restricting access to the UNIX domain sockets used by multipath-tools to prevent unauthorized local users from exploiting this vulnerability. This can be done by modifying the permissions of the socket files.

Conclusion

CVE-2022-41974 presents a significant risk for local privilege escalation in systems using vulnerable versions of multipath-tools. It is crucial for users to update their packages promptly to mitigate this risk and ensure system security.

See every vulnerability recorded for multipath-tools →

Share this vulnerability

FAQ

CVE-2022-41974 is a vulnerability in the multipath-tools package that allows local users to escalate their privileges to root.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Exploitation of this vulnerability can lead to local privilege escalation, allowing unauthorized users to gain root access to the system.

Multipath-tools versions 0.7.0 through 0.9.x before 0.9.2 are affected by this vulnerability.

Yes, the permanent fix is to update the multipath-tools package to a version that is not affected by the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for multipath-tools.

How To Fix

Minimum fixed version

0.8.5-2+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade multipath-tools

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback