Bug 1895451 (CVE-2020-17490)

Summary: CVE-2020-17490 salt: creates certificates with weak file permissions
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, brycel, david-dm.murphy, frederic.pierret, hvyas, itamar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: salt 3002.1, salt 3001.2, salt 3000.4, salt 2019.2.6 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Salt. The TLS module within SaltStack Salt through 3002 creates certificates with weak file permissions. The highest threat from this vulnerability is to confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-06 17:38:21 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: 1895452    
Bug Blocks: 1895456    

Description Guilherme de Almeida Suckevicz 2020-11-06 17:24:53 UTC
The TLS module within SaltStack Salt through 3002 creates certificates with weak file permissions.

Reference:
https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/

Comment 1 Guilherme de Almeida Suckevicz 2020-11-06 17:25:12 UTC
Created salt tracking bugs for this issue:

Affects: fedora-all [bug 1895452]

Comment 2 Bryce Larson 2020-11-06 17:38:21 UTC
This was already fixed in salt 3001.3 and 3002.1 which have been released in fedora 31, 32, 33, and rawhide.

Comment 3 Hardik Vyas 2020-11-09 11:31:54 UTC
Statement:

Red Hat Ceph Storage 2 shipped salt for the usage of Red Hat Storage Console 2(RHSCON-2), which required salt to administrate ceph nodes. RHSCON-2 has reached End Of Life, hence salt is no longer used and supported. Therefore, the salt package provided by Red Hat Ceph Storage 2 has been marked as 'will not fix'.

Comment 5 Przemyslaw Roguski 2020-11-09 11:41:50 UTC
Upstream fix commit:
https://github.com/saltstack/salt/commit/86e18b91ae006de381f71b972f1daab9239bad3c