saltstack/salt · Security
Salt's PAM auth fails to reject locked accounts
- GHSA ID
- GHSA-fpxm-fprw-6hxj
- CVE ID
- CVE-2022-22967
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 7.7 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
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.
CWEs
- CWE-863 · Incorrect Authorization
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22967 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2022-210.yaml ↗
- https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/, ↗
- https://github.com/advisories/GHSA-fpxm-fprw-6hxj ↗
- https://security.gentoo.org/glsa/202310-22 ↗
- https://repo.saltproject.io ↗