CVE-2022-3787: High severity redhat device-mapper-multipath vulnerability

Published Oct 31, 2022
·
Updated

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.

Other sources

The device-mapper-multipath flaw CVE-2022-41974 (bug 2133988) was addressed in Red Hat Enterprise Linux 8 via erratum RHSA-2022:7192 and in Red Hat Enterprise Linux 9 via erratum RHSA-2022:7185, released on Oct 25, 2022:

https://access.redhat.com/errata/RHSA-2022:7192 https://access.redhat.com/errata/RHSA-2022:7185

However, the fix for this issue was not included in the device-mapper-multipath updates released as part of Red Hat Enterprise Linux 8.7 (RHBA-2022:7714) and 9.1 (RHBA-2022:8313), causing a security regression of previously released fix. A new CVE id CVE-2022-3787 was assigned for this security regression.

Note that this issue and CVE id is specific to the device-mapper-multipath packages as shipped with Red Hat Enterprise Linux and is not applicable to any upstream device-mapper-multipath version or device-mapper-multipath packages of any other vendor that are not directly based on Red Hat Enterprise Linux packages.

For more information about the original flaw, refer to the CVE page or bug linked above.

— Red Hat

Affected Software

3 affected components
redhat device-mapper-multipath
redhat Enterprise Linux=8.7
redhat Enterprise Linux=9.1

Event History

Oct 31, 2022
Data Sourced
via Red Hat·07:06 PM
DescriptionSeverityAffected Software
Mar 29, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness

Frequently Asked Questions

1

What is CVE-2022-3787?

CVE-2022-3787 is a vulnerability found in the device-mapper-multipath software that allows local users to obtain root access.

2

How can CVE-2022-3787 be exploited?

CVE-2022-3787 can be exploited by local users who are able to write to UNIX domain sockets, allowing them to bypass access controls and manipulate the multipath set.

3

Which software is affected by CVE-2022-3787?

CVE-2022-3787 affects Redhat Device-mapper-multipath versions, specifically Redhat Enterprise Linux 8.7 and 9.1.

4

What is the severity of CVE-2022-3787?

CVE-2022-3787 has a severity rating of 7.8 (high).

5

How can I fix CVE-2022-3787?

To fix CVE-2022-3787, it is recommended to apply the necessary patches or updates provided by Redhat Enterprise Linux.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203