{"id":"UBUNTU-CVE-2022-22967","details":"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.","modified":"2026-04-08T13:47:48.835220Z","published":"2022-06-23T17:15:00Z","upstream":["CVE-2022-22967"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-22967"},{"type":"REPORT","url":"https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-22967"}],"affected":[{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/salt@0.17.5+ds-1ubuntu0.1~esm5?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.16.0-1","0.16.4-2","0.17.1+dfsg-1","0.17.2-1","0.17.2-2","0.17.2-3","0.17.4-1","0.17.4-2","0.17.5-1","0.17.5+ds-1","0.17.5+ds-1ubuntu0.1~esm1","0.17.5+ds-1ubuntu0.1~esm2","0.17.5+ds-1ubuntu0.1~esm4","0.17.5+ds-1ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-common","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-master","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-minion","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-ssh","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"},{"binary_name":"salt-syndic","binary_version":"0.17.5+ds-1ubuntu0.1~esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22967.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/salt@2015.8.8+ds-1ubuntu0.1+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2015.5.3+ds-1","2015.8.1+ds-2","2015.8.3+ds-1","2015.8.3+ds-2","2015.8.3+ds-3","2015.8.5+ds-1","2015.8.7+ds-1","2015.8.8+ds-1","2015.8.8+ds-1ubuntu0.1~esm1","2015.8.8+ds-1ubuntu0.1","2015.8.8+ds-1ubuntu0.1+esm1","2015.8.8+ds-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-api","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-cloud","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-common","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-master","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-minion","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-proxy","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-ssh","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"},{"binary_name":"salt-syndic","binary_version":"2015.8.8+ds-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22967.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/salt@2017.7.4+dfsg1-1ubuntu18.04.2+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2016.11.5+ds-1","2016.11.8+dfsg1-1","2017.7.2+dfsg1-2ubuntu1","2017.7.3+dfsg1-1","2017.7.4+dfsg1-1","2017.7.4+dfsg1-1ubuntu18.04.1","2017.7.4+dfsg1-1ubuntu18.04.2","2017.7.4+dfsg1-1ubuntu18.04.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-api","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-cloud","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-common","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-master","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-minion","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-proxy","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-ssh","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"},{"binary_name":"salt-syndic","binary_version":"2017.7.4+dfsg1-1ubuntu18.04.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22967.json"}},{"package":{"name":"salt","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/salt@3004.1+dfsg-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3002.6+dfsg1-4","3002.7+dfsg1-1","3004+dfsg1-4","3004+dfsg1-5","3004+dfsg1-6ubuntu1","3004+dfsg1-7","3004+dfsg1-8","3004.1+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"salt-api","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-cloud","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-common","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-master","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-minion","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-proxy","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-ssh","binary_version":"3004.1+dfsg-2"},{"binary_name":"salt-syndic","binary_version":"3004.1+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-22967.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}