Bug 1464968 (CVE-2017-7496)

Summary: CVE-2017-7496 fedora-arm-installer: Unsafe mount in /tmp allows privilege escalation
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jonc_mailbox, pbrobinson, pwhalen
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: 2018-12-04 01:56:49 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: 1464969    
Bug Blocks:    

Description Adam Mariš 2017-06-26 10:16:08 UTC
Local privileges escalation is possible because of unsafe creation of directories in /tmp as a target for mount without checking a return value indicating if the operation failed or succeeded.

Upstream bug:

https://pagure.io/arm-image-installer/pull-request/10

Comment 1 Adam Mariš 2017-06-26 10:16:10 UTC
Acknowledgments:

Name: Michael Scherer (Red Hat)

Comment 2 Adam Mariš 2017-06-26 10:16:35 UTC
Created fedora-arm-installer tracking bugs for this issue:

Affects: fedora-all [bug 1464969]