{"id":"CVE-2016-8649","aliases":["DEBIAN-CVE-2016-8649","EUVD-2016-9488","GHSA-vp8j-2cg9-6pvv","MGASA-2017-0167","UBUNTU-CVE-2016-8649","USN-3136-1","openSUSE-SU-2024:10416-1"],"status":"published","title":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged...","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","severity":{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02813,"percentile":0.86623,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2016-11-23T16:00:00Z","modified":"2026-10-20T13:12:48Z","fixes":[{"ecosystem":"Debian:12","package":"lxc","fixed_in":["1:2.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lxc","fixed_in":["1:2.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lxc","fixed_in":["1:2.0.6-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"lxc","fixed_in":["1.0.8-0ubuntu0.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"lxc","fixed_in":["2.0.5-0ubuntu1~ubuntu16.04.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.0.6-1"}]}]},{"source":"osv","ecosystem":"Mageia:5","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.10-1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8-0ubuntu0.4"}]}],"versions":["1.0.0~alpha1-0ubuntu11","1.0.0~alpha2-0ubuntu1","1.0.0~alpha2-0ubuntu3","1.0.0~alpha2-0ubuntu4","1.0.0~alpha2-0ubuntu5","1.0.0~alpha2-0ubuntu6","1.0.0~alpha3-0ubuntu1","1.0.0~alpha3-0ubuntu2","1.0.0~alpha3-0ubuntu3","1.0.0~alpha3-0ubuntu4","1.0.0~alpha3-0ubuntu5","1.0.0~alpha3-0ubuntu6","1.0.0~alpha3-0ubuntu7","1.0.0~alpha3-0ubuntu8","1.0.0~beta1-0ubuntu1","1.0.0~beta1-0ubuntu2","1.0.0~beta1-0ubuntu3","1.0.0~beta2-0ubuntu1","1.0.0~beta2-0ubuntu2","1.0.0~beta3-0ubuntu1","1.0.0~beta4-0ubuntu1","1.0.0~beta4-0ubuntu2","1.0.0~rc1-0ubuntu2","1.0.0~rc3-0ubuntu1","1.0.0~rc4-0ubuntu1","1.0.0-0ubuntu1","1.0.0-0ubuntu2","1.0.0-0ubuntu3","1.0.0-0ubuntu4","1.0.1-0ubuntu1","1.0.2-0ubuntu1","1.0.2-0ubuntu2","1.0.3-0ubuntu1","1.0.3-0ubuntu2","1.0.3-0ubuntu3","1.0.4-0ubuntu0.1","1.0.5-0ubuntu0.1","1.0.6-0ubuntu0.1","1.0.7-0ubuntu0.1","1.0.7-0ubuntu0.2","1.0.7-0ubuntu0.5","1.0.7-0ubuntu0.6","1.0.7-0ubuntu0.7","1.0.7-0ubuntu0.9","1.0.7-0ubuntu0.10","1.0.8-0ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-0ubuntu1~ubuntu16.04.3"}]}],"versions":["1.1.4-0ubuntu1","1.1.4-0ubuntu1.1","1.1.4-0ubuntu3","1.1.5-0ubuntu1","1.1.5-0ubuntu2","1.1.5-0ubuntu3","1.1.5-0ubuntu4","1.1.5-0ubuntu5","1.1.5-0ubuntu6","2.0.0~beta2-0ubuntu2","2.0.0~rc1-0ubuntu1","2.0.0~rc2-0ubuntu2","2.0.0~rc3-0ubuntu1","2.0.0~rc3-0ubuntu2","2.0.0~rc3-0ubuntu3","2.0.0~rc4-0ubuntu1","2.0.0~rc5-0ubuntu1","2.0.0~rc9-0ubuntu1","2.0.0~rc10-0ubuntu1","2.0.0~rc10-0ubuntu2","2.0.0~rc11-0ubuntu1","2.0.0~rc12-0ubuntu1","2.0.0~rc13-0ubuntu2","2.0.0~rc14-0ubuntu2","2.0.0~rc15-0ubuntu1","2.0.0-0ubuntu1","2.0.0-0ubuntu2","2.0.1-0ubuntu1~16.04.1","2.0.3-0ubuntu1~ubuntu16.04.1","2.0.4-0ubuntu1~ubuntu16.04.2","2.0.5-0ubuntu1~ubuntu16.04.1","2.0.5-0ubuntu1~ubuntu16.04.2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8-0ubuntu0.4"}]}],"versions":["1.0.0~alpha1-0ubuntu11","1.0.0~alpha2-0ubuntu1","1.0.0~alpha2-0ubuntu3","1.0.0~alpha2-0ubuntu4","1.0.0~alpha2-0ubuntu5","1.0.0~alpha2-0ubuntu6","1.0.0~alpha3-0ubuntu1","1.0.0~alpha3-0ubuntu2","1.0.0~alpha3-0ubuntu3","1.0.0~alpha3-0ubuntu4","1.0.0~alpha3-0ubuntu5","1.0.0~alpha3-0ubuntu6","1.0.0~alpha3-0ubuntu7","1.0.0~alpha3-0ubuntu8","1.0.0~beta1-0ubuntu1","1.0.0~beta1-0ubuntu2","1.0.0~beta1-0ubuntu3","1.0.0~beta2-0ubuntu1","1.0.0~beta2-0ubuntu2","1.0.0~beta3-0ubuntu1","1.0.0~beta4-0ubuntu1","1.0.0~beta4-0ubuntu2","1.0.0~rc1-0ubuntu2","1.0.0~rc3-0ubuntu1","1.0.0~rc4-0ubuntu1","1.0.0-0ubuntu1","1.0.0-0ubuntu2","1.0.0-0ubuntu3","1.0.0-0ubuntu4","1.0.1-0ubuntu1","1.0.2-0ubuntu1","1.0.2-0ubuntu2","1.0.3-0ubuntu1","1.0.3-0ubuntu2","1.0.3-0ubuntu3","1.0.4-0ubuntu0.1","1.0.5-0ubuntu0.1","1.0.6-0ubuntu0.1","1.0.7-0ubuntu0.1","1.0.7-0ubuntu0.2","1.0.7-0ubuntu0.5","1.0.7-0ubuntu0.6","1.0.7-0ubuntu0.7","1.0.7-0ubuntu0.9","1.0.7-0ubuntu0.10","1.0.8-0ubuntu0.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.5-0ubuntu1~ubuntu16.04.3"}]}],"versions":["1.1.4-0ubuntu1","1.1.4-0ubuntu1.1","1.1.4-0ubuntu3","1.1.5-0ubuntu1","1.1.5-0ubuntu2","1.1.5-0ubuntu3","1.1.5-0ubuntu4","1.1.5-0ubuntu5","1.1.5-0ubuntu6","2.0.0~beta2-0ubuntu2","2.0.0~rc1-0ubuntu1","2.0.0~rc2-0ubuntu2","2.0.0~rc3-0ubuntu1","2.0.0~rc3-0ubuntu2","2.0.0~rc3-0ubuntu3","2.0.0~rc4-0ubuntu1","2.0.0~rc5-0ubuntu1","2.0.0~rc9-0ubuntu1","2.0.0~rc10-0ubuntu1","2.0.0~rc10-0ubuntu2","2.0.0~rc11-0ubuntu1","2.0.0~rc12-0ubuntu1","2.0.0~rc13-0ubuntu2","2.0.0~rc14-0ubuntu2","2.0.0~rc15-0ubuntu1","2.0.0-0ubuntu1","2.0.0-0ubuntu2","2.0.1-0ubuntu1~16.04.1","2.0.3-0ubuntu1~ubuntu16.04.1","2.0.4-0ubuntu1~ubuntu16.04.2","2.0.5-0ubuntu1~ubuntu16.04.1","2.0.5-0ubuntu1~ubuntu16.04.2"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"lxc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.4-2.1"}]}],"bundled":4}],"products":[{"vendor":"linuxcontainers","product":"lxc"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1398242","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","fix"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1639345","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/lxc/lxc/commit/81f466d05f2a89cb4f122ef7f593ff3f279b165c","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845465","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-8649","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/94498","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-8649"},{"url":"https://github.com/advisories/GHSA-vp8j-2cg9-6pvv"},{"url":"https://advisories.mageia.org/MGASA-2017-0167.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20439","tags":["report"]},{"url":"https://linuxcontainers.org/lxc/news/","tags":["web"]},{"url":"https://www.ubuntu.com/usn/usn-3136-1/","tags":["web"]},{"url":"https://www.ubuntu.com/usn/usn-3224-1/","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19835","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8649","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3136-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-8649","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1331","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1334","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-1335","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-8649","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-8649","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2017-05-01T06:08:00Z","modified":"2024-08-06T02:27:41.373Z","updated_at":"2026-11-02T14:33:32.724067Z"}],"euvd":[{"id":"EUVD-2016-9488","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2017-05-01T06:08:00Z","modified":"2024-08-06T02:27:41Z","updated_at":"2026-11-03T02:22:29.639634Z"}],"ghsa":[{"id":"GHSA-vp8j-2cg9-6pvv","title":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged...","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2022-05-14T02:18:51Z","modified":"2023-02-02T05:05:34Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:52:08.173225Z"}],"nvd":[{"id":"CVE-2016-8649","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2017-05-01T06:59:00.157Z","modified":"2026-06-17T00:54:44.587Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:03:37.619685Z"}],"osv":[{"id":"CVE-2016-8649","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2017-05-01T06:59:00.157Z","modified":"2026-10-20T13:12:48.39700205Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:03.171316Z"},{"id":"DEBIAN-CVE-2016-8649","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2017-05-01T06:59:00.157Z","modified":"2026-09-22T07:02:35.512310318Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"UBUNTU-CVE-2016-8649","description":"lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 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.","status":"published","published":"2016-11-23T16:00:00Z","modified":"2026-04-22T11:01:37.75867Z","cvss":[{"version":"3.0","score":9.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:12.994319Z"},{"id":"MGASA-2017-0167","title":"Updated lxc packages fix security vulnerabilities","description":"Roman Fiedler discovered a directory traversal flaw in lxc-attach. An\nattacker with access to an LXC container could exploit this flaw to\naccess files outside of the container (CVE-2016-8649).\n\nJann Horn discovered that LXC incorrectly verified permissions when\ncreating virtual network interfaces. A local attacker could possibly use\nthis issue to create virtual network interfaces in network namespaces\nthat they do not own (CVE-2017-5985).\n\nThe lxc package has been updated to version 1.0.10 to fix these issues\nand other bugs.\n","status":"published","published":"2017-06-12T07:42:23Z","modified":"2026-04-16T06:26:11.805856981Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2024:10416-1","title":"liblxc-devel-2.0.4-2.1 on GA media","description":"These are all security issues fixed in the liblxc-devel-2.0.4-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:05:17.53428Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"USN-3136-1","title":"lxc vulnerability","description":"Roman Fiedler discovered a directory traversal flaw in lxc-attach. An\nattacker with access to an LXC container could exploit this flaw to access\nfiles outside of the container.\n","status":"published","published":"2016-11-23T17:33:31Z","modified":"2026-04-22T09:29:30.68161Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
