Bug 1398242 (CVE-2016-8649) - CVE-2016-8649 lxc: lxc-attach to malicious container allows access to host
Summary: CVE-2016-8649 lxc: lxc-attach to malicious container allows access to host
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2016-8649
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1398243 1398245
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 10:40 UTC by Andrej Nemec
Modified: 2019-09-29 14:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:02:40 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.