{"answers":{"affected":"7 open source packages ship an affected version, including salt. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-22967 in the wild and no public exploit code.","fix":"Upgrade salt to a fixed version for your release line: 3002.9, 3003.5 or 3004.2.","what":"CVE-2022-22967 is a high-severity authentication bypass vulnerability in Saltstack Salt, published on 22 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-22967 and fix it if it is affected.\n\nWhat it is: CVE-2022-22967 is a high-severity authentication bypass vulnerability in Saltstack Salt, published on 22 Jun 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-22967 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- salt (PyPI): affected all versions; fixed in 3002.9\n- salt (PyPI): affected all versions; fixed in 3002.9\n- salt (PyPI): affected all versions; fixed in 3002.9\n- salt (PyPI): affected from 3003.0; fixed in 3003.5\n- salt (PyPI): affected from 3003.0; fixed in 3003.5\n- salt (PyPI): affected from 3004.0; fixed in 3004.2\n- salt (PyPI): affected from 3004.0; fixed in 3004.2\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-22967/ (Markdown: https://insights.sbomify.com/CVE-2022-22967/index.md)","id":"CVE-2022-22967","markdown":"https://insights.sbomify.com/CVE-2022-22967/index.md","name":"CVE-2022-22967","record":{"aliases":["GHSA-fpxm-fprw-6hxj","PYSEC-2022-210","SUSE-SU-2022:2154-1","SUSE-SU-2022:2159-1","SUSE-SU-2022:2178-1","SUSE-SU-2022:2178-2","SUSE-SU-2022:2253-1","SUSE-SU-2022:2278-1","SUSE-SU-2022:2304-1","SUSE-SU-2022:3172-1","SUSE-SU-2022:3177-1","UBUNTU-CVE-2022-22967","openSUSE-SU-2024:12154-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"SaltStack configuration management","requires_auth":"low_privilege","summary":"Attackers with locked accounts can bypass PAM authentication to execute Salt commands, requiring an upgrade to SaltStack Salt.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"salt","vendor":"saltstack"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.","ecosystems":["PyPI","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 Module for Advanced Systems Management 12","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Basesystem 15 SP4","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Module for Server Applications 15 SP4","SUSE:Linux Enterprise Module for Transactional Server 15 SP3","SUSE:Linux Enterprise Module for Transactional Server 15 SP4","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 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Client Tools 12","SUSE:Manager Client Tools 15","SUSE:Manager Proxy 4.1","SUSE:Manager Proxy Module 4.3","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:Manager Server Module 4.3","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.2"],"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":"Salt's PAM auth fails to reject locked accounts","id":"CVE-2022-22967","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"saltstack:salt","products":["saltstack:salt"],"type":"auth_bypass","year":"2022"},"n_packages":43,"n_references":3,"next":{"headline":"Improper handling of case sensitivity in Spring Framework","id":"CVE-2022-22968"},"packages":[{"ecosystem":"PyPI","fixed":["3002.9"],"introduced":["0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"PyPI","fixed":["3002.9"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"PyPI","fixed":["3002.9"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"PYSEC-2022-210"},{"ecosystem":"PyPI","fixed":["3003.5"],"introduced":["3003.0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"PyPI","fixed":["3003.5"],"introduced":["3003.0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"PyPI","fixed":["3004.2"],"introduced":["3004.0"],"last_affected":[],"package":"salt","purl":null,"source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"PyPI","fixed":["3004.2"],"introduced":["3004.0"],"last_affected":[],"package":"salt","purl":"pkg:pypi/salt","source":"GHSA-fpxm-fprw-6hxj"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","fixed":["3004-150000.8.41.40.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS","source":"SUSE-SU-2022:2253-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","fixed":["3004-150000.8.41.40.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS","source":"SUSE-SU-2022:2253-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["3004-150300.53.24.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2022:2178-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["3004-150300.53.24.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2022:2178-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Advanced Systems Management 12","fixed":["3000-65.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Advanced%20Systems%20Management%2012","source":"SUSE-SU-2022:2154-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["3004-150300.53.24.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2022:2178-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","fixed":["3004-150400.8.8.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4","source":"SUSE-SU-2022:2304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","fixed":["3004-150300.53.24.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3","source":"SUSE-SU-2022:2178-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP4","fixed":["3004-150400.8.8.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4","source":"SUSE-SU-2022:2304-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Transactional Server 15 SP3","fixed":["3004-150300.53.24.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Transactional%20Server%2015%20SP3","source":"SUSE-SU-2022:2178-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Transactional Server 15 SP4","fixed":["3004-150400.8.8.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Transactional%20Server%2015%20SP4","source":"SUSE-SU-2022:2304-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","fixed":["3004-150000.8.41.40.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS","source":"SUSE-SU-2022:2253-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","fixed":["3004-150000.8.41.40.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015","source":"SUSE-SU-2022:2253-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["3004-150100.71.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2022:2159-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Manager Client Tools 12","fixed":["3000-65.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Manager%20Client%20Tools%2012","source":"SUSE-SU-2022:2154-1"},{"ecosystem":"SUSE:Manager Client Tools 12","fixed":["3004-3.11.1"],"introduced":["0"],"last_affected":[],"package":"venv-salt-minion","purl":"pkg:rpm/suse/venv-salt-minion\u0026distro=SUSE%20Manager%20Client%20Tools%2012","source":"SUSE-SU-2022:3177-1"},{"ecosystem":"SUSE:Manager Client Tools 15","fixed":["3004-150000.3.11.1"],"introduced":["0"],"last_affected":[],"package":"venv-salt-minion","purl":"pkg:rpm/suse/venv-salt-minion\u0026distro=SUSE%20Manager%20Client%20Tools%2015","source":"SUSE-SU-2022:3172-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Manager Proxy Module 4.3","fixed":["3004-150000.3.11.1"],"introduced":["0"],"last_affected":[],"package":"venv-salt-minion","purl":"pkg:rpm/suse/venv-salt-minion\u0026distro=SUSE%20Manager%20Proxy%20Module%204.3","source":"SUSE-SU-2022:3172-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["3004-150200.72.1"],"introduced":["0"],"last_affected":[],"package":"salt","purl":"pkg:rpm/suse/salt\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:2278-1"},{"ecosystem":"SUSE:Manager Server Module 4.3","fixed":["3004-150000.3.11.1"],"introduced":["0"],"last_affected":[],"package":"venv-salt-minion","purl":"pkg:rpm/suse/venv-salt-minion\u0026distro=SUSE%20Manager%20Server%20Module%204.3","source":"SUSE-SU-2022:3172-1"}],"prev":{"headline":"Code injection in VMware Cloud Director","id":"CVE-2022-22966"},"products":["SaltStack Salt"],"published":"2022-06-22","related":[{"cvss_score":10,"headline":"SaltStack insecurely uses /tmp","id":"CVE-2013-4437","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":10,"headline":"SaltStack Privilege Escalation vulnerability","id":"CVE-2013-6617","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2021-33226","kev_date_added":null,"published":"2023-02-17"},{"cvss_score":9.8,"headline":"salt-api unauthenticated remote code execution","id":"CVE-2021-25315","kev_date_added":null,"published":"2021-03-03"},{"cvss_score":9.8,"headline":"SaltStack Salt Remote command execution and incorrect access control when using salt-api","id":"CVE-2018-15751","kev_date_added":null,"published":"2018-10-24"},{"cvss_score":9.8,"headline":"SaltStack Salt allows compromised salt-minions to impersonate the salt-master","id":"CVE-2017-7893","kev_date_added":null,"published":"2018-04-23"},{"cvss_score":9.8,"headline":"SaltStack Salt Directory traversal vulnerability in minion id validation","id":"CVE-2017-14695","kev_date_added":null,"published":"2017-10-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-05","vendors":["n/a"]},"summary":"Attackers with locked accounts can bypass PAM authentication to execute Salt commands, requiring an upgrade to SaltStack Salt.","url":"https://insights.sbomify.com/CVE-2022-22967/"}