{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-3787 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-3787 is a high-severity vulnerability in Redhat Enterprise Linux, published on 29 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3787 and fix it if it is affected.\n\nWhat it is: CVE-2022-3787 is a high-severity vulnerability in Redhat Enterprise Linux, published on 29 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-3787 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3787/ (Markdown: https://insights.sbomify.com/CVE-2022-3787/index.md)","id":"CVE-2022-3787","markdown":"https://insights.sbomify.com/CVE-2022-3787/index.md","name":"CVE-2022-3787","record":{"aliases":["GHSA-m46g-8pc6-m8q7","RHSA-2022:7928","RHSA-2022:8453","RLSA-2022:7928","RLSA-2022:8453"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux multipath tools","requires_auth":"low_privilege","summary":"Local attackers can escalate privileges to root by manipulating multipath setup via UNIX domain sockets due to improper access control handling.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"device-mapper-multipath","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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.","ecosystems":["Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Privilege escalation in device-mapper-multipath","id":"CVE-2022-3787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"privilege_escalation","year":"2022"},"n_packages":4,"n_references":1,"next":{"headline":"TablePress Plugin vulnerable to Cross-site Scripting","id":"CVE-2022-3788"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.8.4-28.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7928"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:0.8.7-12.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:8453"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.8.4-28.el8_7.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/rocky-linux/device-mapper-multipath?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:7928"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.8.7-12.el9_1.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/rocky-linux/device-mapper-multipath?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2022:8453"}],"prev":{"headline":"X.509 Email Address Variable Length Buffer Overflow","id":"CVE-2022-3786"},"products":["device-mapper-multipath"],"published":"2023-03-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-18","vendors":["n/a"]},"summary":"Local attackers can escalate privileges to root by manipulating multipath setup via UNIX domain sockets due to improper access control handling.","url":"https://insights.sbomify.com/CVE-2022-3787/"}