Bug 1212784 (CVE-2015-1838)

Summary: CVE-2015-1838 salt: insecure /tmp file handling in salt/modules/serverdensity_device.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, herlo1
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:51 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:10:10 UTC
Michael Scherer of Red Hat reported an insecure /tmp file handling in salt/modules/serverdensity_device.py in SaltStack.
This issue is fixed in SaltStack version 2014.7.4 with this commit:

https://github.com/saltstack/salt/commit/e11298d7155e9982749483ca5538e46090caef9c

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:16 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:17 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.