Bug 2100808 (CVE-2022-22967)

Summary: CVE-2022-22967 salt: missing check for PAM_ACCT_MGM return value
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: brycel, dmurphy, frederic, kp
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-24 14:40:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2100809    
Bug Blocks:    

Description Michael Kaplan 2022-06-24 10:48:01 UTC
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.

References:
https://saltproject.io/security_announcements/salt-security-advisory-release-june-21st-2022/,

Comment 1 Michael Kaplan 2022-06-24 10:48:15 UTC
Created salt tracking bugs for this issue:

Affects: fedora-all [bug 2100809]

Comment 2 Product Security DevOps Team 2022-06-24 14:40:09 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.