Insecure Handling of Files in device-mapper-multipath

device-mapper-multipath Updated 02 Oct 2025

Summary

09/05/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:2459: Moderate: device-mapper-multipath security and bug fix update. Affects device-mapper-multipath versions < 0.8.7-20.el9. Fixed in 0.8.7-20.el9. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

device-mapper-multipath is a package that provides tools for managing multipath devices using the device-mapper multipath kernel module. It is commonly used in AlmaLinux 9. Multipath devices are used to provide redundancy and load balancing in storage systems. The device-mapper-multipath package includes the multipathd daemon, which is responsible for managing multipath devices.

The vulnerability in device-mapper-multipath (CVE-2022-41973) is related to insecure handling of files in the /dev/shm directory. This vulnerability can be exploited through a symlink attack, potentially leading to unauthorized access or privilege escalation.

Vulnerability Detail

The vulnerability (CVE-2022-41973) in device-mapper-multipath is caused by insecure handling of files in the /dev/shm directory. By creating a symbolic link to a sensitive file, an attacker can trick the multipathd daemon into overwriting or reading unintended files, potentially leading to unauthorized access or privilege escalation. This vulnerability has a moderate severity rating.

To exploit this vulnerability, an attacker would need local access to the system and the ability to create symbolic links in the /dev/shm directory. The impact of this vulnerability depends on the specific files that are targeted and the privileges of the multipathd daemon.

How To Fix

Minimum fixed version

0.8.7-20.el9

This is the first release that contains the fix.

sudo dnf update device-mapper-multipath

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

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the device-mapper-multipath package to the latest version.

Conclusion

The device-mapper-multipath package in AlmaLinux 9 is vulnerable to an insecure handling of files in the /dev/shm directory, which can be exploited through a symlink attack. To mitigate this vulnerability, it is recommended to update the device-mapper-multipath package to version 0.8.7-20.el9 or later. This update includes a fix for the vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for device-mapper-multipath →

Share this vulnerability

FAQ

device-mapper-multipath is a package that provides tools for managing multipath devices using the device-mapper multipath kernel module. It is commonly used in AlmaLinux 9.

The impact of this vulnerability depends on the specific files that are targeted and the privileges of the multipathd daemon. It could potentially lead to unauthorized access or privilege escalation.

To fix this vulnerability, update the device-mapper-multipath package to version 0.8.7-20.el9 or later. This update includes a fix for the insecure handling of files in the /dev/shm directory.

There is no known workaround for this vulnerability. It is recommended to apply the fix by updating the device-mapper-multipath package to the latest version.

No, this vulnerability requires local access to the system and the ability to create symbolic links in the /dev/shm directory.

Related vulnerabilities

Recent vulnerabilities recorded for device-mapper-multipath.

How To Fix

Minimum fixed version

0.8.7-20.el9

This is the first release that contains the fix.

sudo dnf update device-mapper-multipath

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