Bug 1445655 (CVE-2017-8109)

Summary: CVE-2017-8109 salt: Minion code copies over configuration from the Salt Master without adjusting permissions
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andrewniemants, erik, herlo1, jeff, sisharma
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: salt 2016.11.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-26 12:33:12 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: 1418350    
Bug Blocks: 1445661    

Description Andrej Nemec 2017-04-26 08:52:15 UTC
The salt-ssh minion code in SaltStack Salt copies over configuration from the Salt Master without adjusting permissions, which might leak credentials to local attackers on configured minions (clients).

Upstream bug:

https://github.com/saltstack/salt/issues/40075

Upstream patch:

https://github.com/saltstack/salt/pull/40609/commits/6e34c2b5e5e849302af7ccd00509929c3809c658

References:

https://docs.saltstack.com/en/latest/topics/releases/2016.11.4.html

Comment 1 Andrej Nemec 2017-04-26 08:54:01 UTC
Created salt tracking bugs for this issue:

Affects: epel-all [bug 1418350]

Comment 2 Siddharth Sharma 2017-04-26 12:33:12 UTC
Statement:

This issue did not affect the versions of the salt as shipped with Red Hat Ceph Storage 1.3, Red Hat Ceph Storage 2, and Red Hat Storage Console 2 as salt-ssh is not used with these products.