Bug 1219065 (CVE-2015-3631)

Summary: CVE-2015-3631 docker: volume mounts allow LSM profile 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, lsm5, 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:53 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: 1219713, 1219714, 1219715, 1219716    
Bug Blocks: 1219067    

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

By allowing volumes to override files of /proc within a mount namespace, a user could specify arbitrary policies for Linux Security Modules, including setting an unconfined policy underneath AppArmor, or a docker_t policy for processes managed by SELinux. In all versions of Docker up until 1.6.1, it is possible for malicious images to configure volume mounts such that files of proc may be overridden.

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:42 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:50:13 UTC
Created docker-io tracking bugs for this issue:

Affects: fedora-all [bug 1219715]
Affects: epel-6 [bug 1219716]