{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-41974 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-41974 is a high-severity vulnerability in Debian Debian Linux, published on 29 Oct 2022. 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-41974 and fix it if it is affected.\n\nWhat it is: CVE-2022-41974 is a high-severity vulnerability in Debian Debian Linux, published on 29 Oct 2022. 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-41974 in the wild and no public exploit code.\n\nAffected product: Debian Debian 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-41974/ (Markdown: https://insights.sbomify.com/CVE-2022-41974/index.md)","id":"CVE-2022-41974","markdown":"https://insights.sbomify.com/CVE-2022-41974/index.md","name":"CVE-2022-41974","record":{"aliases":["ALSA-2022:7185","ALSA-2022:7192","AZL-11373","DEBIAN-CVE-2022-41974","GHSA-46cw-54vx-86g5","OESA-2022-2050","RHSA-2022:7185","RHSA-2022:7186","RHSA-2022:7187","RHSA-2022:7188","RHSA-2022:7191","RHSA-2022:7192","RLSA-2022:7185","RLSA-2022:7192","SUSE-SU-2022:3712-1","SUSE-SU-2022:3713-1","SUSE-SU-2022:3714-1","SUSE-SU-2022:3715-1","UBUNTU-CVE-2022-41974"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","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 exploiting a logic error in multipath-tools keyword handling via UNIX domain sockets.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"multipath-tools","vendor":"opensvc"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","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-269","name":"Improper Privilege Management"}],"description":"multipath-tools 0.7.0 through 0.9.x before 0.9.2 allows local users to obtain root access, as exploited alone or in conjunction with CVE-2022-41973. Local users able to write to UNIX domain sockets can bypass access controls and manipulate the multipath setup. This can lead to local privilege escalation to root. This occurs because an attacker can repeat a keyword, which is mishandled because arithmetic ADD is used instead of bitwise OR.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_eus:8.4::baseos","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"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 n/a","id":"CVE-2022-41974","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"privilege_escalation","year":"2022"},"n_packages":31,"n_references":13,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2022-41975"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/almalinux/device-mapper-multipath","source":"ALSA-2022:7192"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath-devel","purl":"pkg:rpm/almalinux/device-mapper-multipath-devel","source":"ALSA-2022:7192"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath-libs","purl":"pkg:rpm/almalinux/device-mapper-multipath-libs","source":"ALSA-2022:7192"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"kpartx","purl":"pkg:rpm/almalinux/kpartx","source":"ALSA-2022:7192"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"libdmmp","purl":"pkg:rpm/almalinux/libdmmp","source":"ALSA-2022:7192"},{"ecosystem":"AlmaLinux:9","fixed":["0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/almalinux/device-mapper-multipath","source":"ALSA-2022:7185"},{"ecosystem":"AlmaLinux:9","fixed":["0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath-devel","purl":"pkg:rpm/almalinux/device-mapper-multipath-devel","source":"ALSA-2022:7185"},{"ecosystem":"AlmaLinux:9","fixed":["0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath-libs","purl":"pkg:rpm/almalinux/device-mapper-multipath-libs","source":"ALSA-2022:7185"},{"ecosystem":"AlmaLinux:9","fixed":["0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"kpartx","purl":"pkg:rpm/almalinux/kpartx","source":"ALSA-2022:7185"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.4.9-136.el7_9"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7186"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.4.9-136.el7_9"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7186"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.4.9-136.el7_9"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7186"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7192"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7185"},{"ecosystem":"Red Hat:rhel_e4s:8.1::baseos","fixed":["0:0.8.0-5.el8_1.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7187"},{"ecosystem":"Red Hat:rhel_eus:8.2::baseos","fixed":["0:0.8.3-3.el8_2.7"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7188"},{"ecosystem":"Red Hat:rhel_eus:8.4::baseos","fixed":["0:0.8.4-10.el8_4.4"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/redhat/device-mapper-multipath","source":"RHSA-2022:7191"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.8.4-22.el8_6.2"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/rocky-linux/device-mapper-multipath?distro=rocky-linux-8-6-legacy\u0026epoch=0","source":"RLSA-2022:7192"},{"ecosystem":"Rocky Linux:9","fixed":["0:0.8.7-7.el9_0.1"],"introduced":["0"],"last_affected":[],"package":"device-mapper-multipath","purl":"pkg:rpm/rocky-linux/device-mapper-multipath?distro=rocky-linux-9-0-legacy\u0026epoch=0","source":"RLSA-2022:7185"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:3712-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:3712-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["0.6.2+suse20221017.514d453-71.26.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:3715-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["0.7.1+125+suse.c18e287-2.23.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:3714-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["0.7.3+177+suse.b16d5dc-2.23.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:3713-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:3712-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["0.7.3+177+suse.b16d5dc-2.23.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:3713-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:3712-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["0.7.3+177+suse.b16d5dc-2.23.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:3713-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["0.7.3+177+suse.b16d5dc-2.23.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/suse/multipath-tools\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2022:3713-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/opensuse/multipath-tools\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:3712-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.7.3+173+suse.7dd1b01-150000.3.29.1"],"introduced":["0"],"last_affected":[],"package":"multipath-tools","purl":"pkg:rpm/opensuse/multipath-tools\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:3712-1"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2022-41973"},"products":["n/a"],"published":"2022-10-29","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Local attackers can escalate privileges to root by exploiting a logic error in multipath-tools keyword handling via UNIX domain sockets.","url":"https://insights.sbomify.com/CVE-2022-41974/"}