CVE-2022-22967 json
Salt's PAM auth fails to reject locked accounts
published 2022-06-22 4 y ago modified 2026-06-17 4 mo ago also GHSA-fpxm-fprw-6hxj , PYSEC-2022-210 , EUVD-2022-0274
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi salt 3002.9, 3003.5, 3004.2
- saltstack salt 3002.9, 3003.5, 3004.2
- venv-salt-minion Manager Client Tools 12 3004-3.11.1
- venv-salt-minion Manager Server Module 4.3, Manager Proxy Module 4.3, Manager Client Tools 15 3004-150000.3.11.1
- salt SLE Module for Transactional Server 15 SP4, SLE Module for Server Applications 15 SP4, SLE Module for Basesystem 15 SP4 +1 more 3004-150400.8.8.1
- salt SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 3004-150200.72.1
- salt SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 3004-150000.8.41.40.1
- salt SLE Module for Transactional Server 15 SP3, SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3 +4 more 3004-150300.53.24.1
- salt SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 3004-150100.71.1
- salt SLE Module for Advanced Systems Management 12, Manager Client Tools 12 3000-65.1
suse advisories SUSE-SU-2022:3177-1SUSE-SU-2022:3172-1SUSE-SU-2022:2304-1SUSE-SU-2022:2278-1SUSE-SU-2022:2253-1SUSE-SU-2022:2178-2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-22967 updated cvss 7.5
salt: missing check for PAM_ACCT_MGM return value
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | <3002.9 >=3003.0, <3003.5 >=3004.0, <3004.2 |
3002.9 3003.5 3004.2 |
Affected products
- n/a SaltStack Salt
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
security.gentoo.org
/glsa/202310-22
vendor-advisory, web, third-party-advisory
-
repo.saltproject.io
/
product, vendor-advisory, web
-
saltproject.io
/security_announcements/salt-security-advisory-release-june-21st-2022/%2C
broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-22967
advisory
-
github.com
/advisories/GHSA-fpxm-fprw-6hxj
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-210.yaml
web
-
github.com
/saltstack/salt
package
-
repo.saltproject.io
web
-
saltproject.io
/security_announcements/salt-security-advisory-release-june-21st-2022/,
web, advisory
Sources
- CVE List CVE-2022-22967
- GitHub Advisory GHSA-fpxm-fprw-6hxj
- NVD CVE-2022-22967
- OSV PYSEC-2022-210
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.