Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.7

CVE-2022-22967: SaltStack Salt fails to reject locked user accounts

CVE-2022-22967 · published 4 years ago
Summary

A bug in SaltStack Salt versions before 3002.9, 3003.5, and 3004.2 allows a locked user to continue accessing the system, potentially allowing them to perform actions they shouldn't have permission for. This affects both local user accounts and users who authenticate via a specific security feature. To fix this issue, update to the latest version of SaltStack Salt.

What to do
  • Update thomas s hatch salt to version 3002.9.
  • Update thomas s hatch salt to version 3003.5.
  • Update thomas s hatch salt to version 3004.2.
Affected software
Ecosystem VendorProductAffected versions
– saltstack salt < 3002.9
>= 3003, < 3003.5
>= 3004, < 3004.2
cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
Ubuntu:Pro:14.04:LTS canonical salt All versions
Ubuntu:Pro:16.04:LTS canonical salt All versions
Ubuntu:Pro:18.04:LTS canonical salt All versions
Ubuntu:22.04:LTS canonical salt All versions
pip thomas s hatch salt < 3002.9
>= 3003.0, < 3003.5
>= 3004.0, < 3004.2
Fix: upgrade to 3002.9
Original advisory text
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 stil...
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
7.7 High
Exploitation
2% chance of attack within 30 days
Type
CWE-863Incorrect Authorization
Timeline
Published22 Jun 2022
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta