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
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: impact=important,public=20161108,repo...
Keywords: Security
Depends On: 1398243 1398245
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 10:40 UTC by Andrej Nemec
Modified: 2019-06-08 21:36 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2019-06-08 03:02:40 UTC


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.