{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-43995 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-43995 is a high-severity memory corruption vulnerability in n/a, published on 2 Nov 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-43995 and fix it if it is affected.\n\nWhat it is: CVE-2022-43995 is a high-severity memory corruption vulnerability in n/a, published on 2 Nov 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-43995 in the wild and no public exploit code.\n\nAffected product: n/a. 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-43995/ (Markdown: https://insights.sbomify.com/CVE-2022-43995/index.md)","id":"CVE-2022-43995","markdown":"https://insights.sbomify.com/CVE-2022-43995/index.md","name":"CVE-2022-43995","record":{"aliases":["ALPINE-CVE-2022-43995","AZL-11400","DEBIAN-CVE-2022-43995","GHSA-3r97-xp9v-83jf","MGASA-2022-0426","OESA-2022-2079","SUSE-SU-2022:3886-1","SUSE-SU-2022:3938-1","SUSE-SU-2022:4001-1","SUSE-SU-2022:4077-1","SUSE-SU-2022:4240-1","SUSE-SU-2022:4280-1","openSUSE-SU-2024:12483-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Sudo privilege tool","requires_auth":"low_privilege","summary":"Local attackers can trigger a heap-based buffer over-read in Sudo when using the crypt() password backend with short passwords, potentially leaking memory or causing crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"sudo","vendor":"sudo_project"}],"cvss":{"score":7.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","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 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2","openSUSE:Tumbleweed"],"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":"Memory corruption in n/a","id":"CVE-2022-43995","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2022"},"n_packages":37,"n_references":5,"next":{"headline":"csaf-poc/csaf_distribution Cross-site Scripting vulnerability","id":"CVE-2022-43996"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["1.9.5p2-150300.3.13.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:4077-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["1.9.5p2-150300.3.13.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:4077-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.9.9-150400.4.6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2022:4001-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["1.9.5p2-150300.3.13.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:4077-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["1.9.9-150400.4.6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:4001-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.8.10p3-10.38.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2022:3886-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["1.8.20p2-3.33.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2022:4240-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["1.8.20p2-3.33.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2022:4240-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.8.27-4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2022:4280-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.8.20p2-3.33.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2022:4240-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.8.27-4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2022:4280-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.8.27-4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2022:4280-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["1.8.27-150000.4.30.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:3938-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["1.8.20p2-3.33.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2022:4240-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["1.8.20p2-3.33.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/suse/sudo\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2022:4240-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.9.5p2-150300.3.13.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/opensuse/sudo\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:4077-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.9.9-150400.4.6.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/opensuse/sudo\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:4001-1"},{"ecosystem":"openSUSE:Leap Micro 5.2","fixed":["1.9.5p2-150300.3.13.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/opensuse/sudo\u0026distro=openSUSE%20Leap%20Micro%205.2","source":"SUSE-SU-2022:4077-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.9.12-3.1"],"introduced":["0"],"last_affected":[],"package":"sudo","purl":"pkg:rpm/opensuse/sudo\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12483-1"}],"prev":{"headline":"Auth bypass in SICK SIM1012","id":"CVE-2022-43990"},"products":["n/a"],"published":"2022-11-02","related":[{"cvss_score":8.2,"headline":"Command injection in n/a","id":"CVE-2017-1000368","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2015-5602","kev_date_added":null,"published":"2015-11-17"},{"cvss_score":7,"headline":"Privilege escalation in n/a","id":"CVE-2023-42465","kev_date_added":null,"published":"2023-12-22"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2019-18684","kev_date_added":null,"published":"2019-11-04"},{"cvss_score":7,"headline":"Race condition in n/a","id":"CVE-2015-8239","kev_date_added":null,"published":"2017-10-10"},{"cvss_score":6.6,"headline":"Sudo: improper handling of ipa_hostname leads to privilege mismanagement","id":"CVE-2023-7090","kev_date_added":null,"published":"2023-12-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-05-05","vendors":["n/a"]},"summary":"Local attackers can trigger a heap-based buffer over-read in Sudo when using the crypt() password backend with short passwords, potentially leaking memory or causing crashes.","url":"https://insights.sbomify.com/CVE-2022-43995/"}