GitHub Advisory Database
GHSA-fpxm-fprw-6hxj
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | All versions before 3002.9 (fixed in 3002.9) |
| PyPI | salt | From 3003.0 before 3003.5 (fixed in 3003.5) |
| PyPI | salt | From 3004.0 before 3004.2 (fixed in 3004.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22967
- https://github.com/advisories/GHSA-fpxm-fprw-6hxj
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-210.yaml
- https://github.com/saltstack/salt
- https://repo.saltproject.io
- https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/,
- https://security.gentoo.org/glsa/202310-22