{"api_version":"1","generated_at":"2026-07-23T18:58:10+00:00","cve":"CVE-2022-3787","urls":{"html":"https://cve.report/CVE-2022-3787","api":"https://cve.report/api/cve/CVE-2022-3787.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-3787","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-3787"},"summary":{"title":"CVE-2022-3787","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2023-03-29 21:15:00","updated_at":"2023-04-06 19:25:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2138959","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2138959","refsource":"MISC","tags":[],"title":"2138959 – (CVE-2022-3787) CVE-2022-3787 device-mapper-multipath: Regression of CVE-2022-41974 fix in Red Hat Enterprise Linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3787","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3787","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"3787","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"device-mapper-multipath","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3787","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3787","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-3787","qid":"160256","title":"Oracle Enterprise Linux Security Update for device-mapper-multipath (ELSA-2022-7928)"},{"cve":"CVE-2022-3787","qid":"160328","title":"Oracle Enterprise Linux Security Update for device-mapper-multipath (ELSA-2022-8453)"},{"cve":"CVE-2022-3787","qid":"240861","title":"Red Hat Update for device-mapper-multipath (RHSA-2022:7928)"},{"cve":"CVE-2022-3787","qid":"240916","title":"Red Hat Update for device-mapper-multipath (RHSA-2022:8453)"},{"cve":"CVE-2022-3787","qid":"355168","title":"Amazon Linux Security Advisory for device-mapper-multipath : ALAS2023-2023-126"},{"cve":"CVE-2022-3787","qid":"377789","title":"Alibaba Cloud Linux Security Update for device-mapper-multipath (ALINUX3-SA-2022:0185)"},{"cve":"CVE-2022-3787","qid":"940778","title":"AlmaLinux Security Update for device-mapper-multipath (ALSA-2022:7928)"},{"cve":"CVE-2022-3787","qid":"940786","title":"AlmaLinux Security Update for device-mapper-multipath (ALSA-2022:8453)"},{"cve":"CVE-2022-3787","qid":"960474","title":"Rocky Linux Security Update for device-mapper-multipath (RLSA-2022:7928)"},{"cve":"CVE-2022-3787","qid":"960571","title":"Rocky Linux Security Update for device-mapper-multipath (RLSA-2022:8453)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-3787","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"device-mapper-multipath","version":{"version_data":[{"version_value":"unknown"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-285"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2138959","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2138959"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2023-03-29 21:15:00","lastModifiedDate":"2023-04-06 19:25:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:device-mapper-multipath:-:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.1:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.7:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}