Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1535057 (CVE-2017-14804)

Summary: CVE-2017-14804 obs-build: Exploit extractbuild to write to files in the host system
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ngompa13
Target Milestone: ---Keywords: Reopened, 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-08-26 10:57:10 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: 1535058    
Bug Blocks:    

Description Andrej Nemec 2018-01-16 15:09:47 UTC
A vulnerability was found in the build script of obs-build. It is possible to exploit the extractbuild script to write to files in the host system, in case of a vm build. This can be used, for instance, to replace a running bs_worker with arbitrary code.

Suse bug report (contains reproducer):

https://bugzilla.novell.com/show_bug.cgi?id=1069904

Comment 1 Andrej Nemec 2018-01-16 15:10:22 UTC
Created obs-build tracking bugs for this issue:

Affects: fedora-all [bug 1535058]

Comment 2 Neal Gompa 2018-08-23 12:28:23 UTC
This had been fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2018-ac8aab1f7a

Comment 3 Neal Gompa 2018-08-23 12:29:39 UTC
Oops, not fixed.

Comment 4 Neal Gompa 2018-08-26 10:57:39 UTC
Fixed in: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fe2cbf0c2b