Advisory

GHSA-fpxm-fprw-6hxj

Also known as: CVE-2022-22967, PYSEC-2022-210

Summary

Salt's PAM auth fails to reject locked accounts

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-06-25 07:21 UTC
Modified
2024-10-26 23:28 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 0, fixed 3002.9 (ecosystem)

Fixed versions

3002.9

Fix

  • Fixed version 3002.9
    pip install --upgrade salt==3002.9

salt

PyPI · All systems

Affected

  • introduced 3003.0, fixed 3003.5 (ecosystem)

Fixed versions

3003.5

Fix

  • Fixed version 3003.5
    pip install --upgrade salt==3003.5

salt

PyPI · All systems

Affected

  • introduced 3004.0, fixed 3004.2 (ecosystem)

Fixed versions

3004.2

Fix

  • Fixed version 3004.2
    pip install --upgrade salt==3004.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences