Bug 1212788 (CVE-2015-1839)

Summary: CVE-2015-1839 salt: insecure /tmp file handling in salt/modules/chef.py
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andrewniemants, ceph-eng-bugs, erik, gmeno, herlo1, kdreyer
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: SaltStack 2014.7.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:40:53 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: 1212789, 1212790    
Bug Blocks:    

Description Vasyl Kaigorodov 2015-04-17 10:14:30 UTC
Michael Scherer of Red Hat reported an insecure /tmp file handling in salt/modules/chef.py in SaltStack.
This issue is fixed in SaltStack version 2014.7.4 with these commits:

https://github.com/saltstack/salt/commit/22d2f7a1ec93300c34e8c42d14ec39d51e610b5c
https://github.com/saltstack/salt/commit/b49d0d4b5ca5c6f31f03e2caf97cef1088eeed81

External References:

http://docs.saltstack.com/en/latest/topics/releases/2014.7.4.html

Acknowledgements:

Red Hat would like to thank Michael Scherer of Red Hat for reporting this issue.

Statement:

This issue did not affect versions of salt as shipped with Red Hat Red Hat Ceph Storage as they did not include the vulnerable module.

Comment 1 Vasyl Kaigorodov 2015-04-17 10:15:38 UTC
Created salt tracking bugs for this issue:

Affects: fedora-all [bug 1212789]
Affects: epel-all [bug 1212790]

Comment 2 Fedora Update System 2016-01-15 23:25:22 UTC
salt-2015.5.8-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.