Skip to content
Fencer Intel
high 8.8

CVE-2022-22967 json

Salt's PAM auth fails to reject locked accounts

published 4y ago modified 4mo 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

Is CVE-2022-22967 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 products
    not 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
last yr.

Exploit prediction

2.06% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

References

Sources

Fencer Intel 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.