CVEfocus › CVE database › CVE-2022-3787

CVE-2022-3787

CVSS 7.8 HighEPSS 0.2% (higher than 12% of CVEs)Published 2023-03-29Updated 2025-02-18Assigner: redhat

A vulnerability was found in the device-mapper-multipath. The device-mapper-multipath allows local users to obtain root access, exploited alone or in conjunction with CVE-2022-41973. Local users that are able to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. This issue occurs because an attacker can repeat a keyword, which is mishandled when arithmetic ADD is used instead of bitwise OR. This could lead to local privilege escalation to root.

CWE-285

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: 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

6Fixed
10Not 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
Red Hat Enterprise Linux 9device-mapper-multipathFixed0:0.8.7-12.el9_1.1RHSA-2022:8453
Red Hat Enterprise Linux 8device-mapper-multipathFixed0:0.8.4-28.el8_7.1RHSA-2022:7928
Red Hat Enterprise Linux 7device-mapper-multipathNot affected
Red Hat Enterprise Linux 7device-mapper-multipath-develNot affected
Red Hat Enterprise Linux 7device-mapper-multipath-libsNot affected
Red Hat Enterprise Linux 7device-mapper-multipath-sysvinitNot affected
Red Hat Enterprise Linux 7kpartxNot affected
Red Hat Enterprise Linux 7libdmmpNot affected
Red Hat Enterprise Linux 7libdmmp-develNot affected
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-12.el9_1.1ALSA-2022:8453
AlmaLinux 8device-mapper-multipathFixed0.8.4-28.el8_7.1ALSA-2022:7928
Rocky Linux 9device-mapper-multipathFixed0:0.8.7-12.el9_1.1RLSA-2022:8453
Rocky Linux 8device-mapper-multipathFixed0:0.8.4-28.el8_7.1RLSA-2022:7928

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.