Bug 1398242 (CVE-2016-8649)

Summary: CVE-2016-8649 lxc: lxc-attach to malicious container allows access to host
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: karlthered, pokorra.mailinglists, sagarun, thomas.moschny
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: 2019-06-08 03:02:40 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: 1398243, 1398245    
Bug Blocks:    

Description Andrej Nemec 2016-11-24 10:40:15 UTC
CVE-2016-8649 was assigned to the issue that allows an attacker inside of an unprivileged container to use an inherited file descriptor, of the host's /proc, to access the rest of the host's filesystem via the openat() family of syscalls. The file descriptor is needed to write to /proc/<PID>/attr/current or /proc/<PID>/attr/exec to set the AppArmor/SELinux label of the attached process.

Upstream bug:

https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1639345

Upstream patch:

https://github.com/lxc/lxc/commit/81f466d05f2a89cb4f122ef7f593ff3f279b165c

References:

http://seclists.org/oss-sec/2016/q4/515

Comment 1 Andrej Nemec 2016-11-24 10:40:56 UTC
Created lxc tracking bugs for this issue:

Affects: fedora-all [bug 1398243]
Affects: epel-all [bug 1398245]

Comment 2 Product Security DevOps Team 2019-06-08 03:02:40 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.