Bug 1219061 (CVE-2015-3627)

Summary: CVE-2015-3627 docker: insecure opening of file-descriptor 1 leading to privilege escalation
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adimania, admiller, dwalsh, golang-updates, hushan.jia, ichavero, jchaloup, jperrin, mattdm, miminar, security-response-team, s, thrcka
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: docker 1.6.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 00:44: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: 1219705, 1219706, 1219707, 1219708    
Bug Blocks: 1219067    

Description Martin Prpič 2015-05-06 14:01:27 UTC
The following flaw was reported in Docker:

The file-descriptor passed by libcontainer to the pid-1 process of a container has been found to be opened prior to performing the chroot, allowing insecure open and symlink traversal. This allows malicious container images to trigger a local privilege escalation.

Libcontainer and Docker Engine 1.6.1 address this vulnerability.

Acknowledgements:

Red Hat would like to thank Eric Windisch of the Docker project for reporting this issue.

Comment 1 Trevor Jay 2015-05-08 01:33:38 UTC
This issue is exploitable by malicious Docker images. Red Hat supports images from it's own registry, ISV images certified by the Red Hat certification program, and images using qualified customer content.

Comment 3 Trevor Jay 2015-05-08 01:46:37 UTC
Created docker-io tracking bugs for this issue:

Affects: fedora-all [bug 1219707]
Affects: epel-6 [bug 1219708]