Bug 1510864 (CVE-2017-15108)

Summary: CVE-2017-15108 spice-vdagent: Improper validation of xfers->save_dir in vdagent_file_xfers_data()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: alon, cfergeau, dblechte, hdegoede, jjongsma, marcandre.lureau, rasanche, rbalakri, rh-spice-bugs, sandmann, security-response-team, victortoso
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: 2017-11-09 17:16:42 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: 1518602    
Bug Blocks: 1506957    

Description Adam Mariš 2017-11-08 10:45:14 UTC
It was reported that vdagent_file_xfers_data() does not properly escape xfers->save_dir before giving it as argument to system(), allowing for arbitrary code execution.

Comment 1 Adam Mariš 2017-11-08 10:45:19 UTC
Acknowledgments:

Name: Seth Arnold (Canonical)

Comment 6 Raphael Sanchez Prudencio 2017-11-09 17:19:26 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 7 Raphael Sanchez Prudencio 2017-11-29 09:51:26 UTC
Created spice-vdagent tracking bugs for this issue:

Affects: fedora-all [bug 1518602]