CVE-2022-22967: Salt's PAM auth fails to reject locked accounts

CVE-2022-22967 · Severity: low · CVSS 3.1 · Published 2022-06-23

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.

Technologies: salt (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2022-22967 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-22967 being exploited in the wild.
How severe is CVE-2022-22967?
Low severity, with a CVSS score of 3.1, published 23 June 2022.
Which products and versions are affected?
salt (PyPI) ECOSYSTEM:introduced=0,fixed=3002.9.
Is there a fix for CVE-2022-22967?
Yes. salt (PyPI): upgrade to 3002.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-22967?
Check whether you run salt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • salt (PyPI): upgrade to 3002.9 or later
    pip install "salt>=3002.9"

Affected products

  • salt (PyPI) ECOSYSTEM:introduced=0,fixed=3002.9

Identifiers

  • CVE-2022-22967
  • GHSA-fpxm-fprw-6hxj
  • PYSEC-2022-210

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.