{"id":"UBUNTU-CVE-2017-5985","details":"lxc-user-nic in Linux Containers (LXC) allows local users with a lxc-usernet allocation to create network interfaces on the host and choose the name of those interfaces by leveraging lack of netns ownership check.","modified":"2026-01-30T01:30:54.985807Z","published":"2017-03-09T16:00:00Z","related":["USN-3224-1"],"upstream":["CVE-2017-5985"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-5985"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3224-1"},{"type":"REPORT","url":"https://lists.linuxcontainers.org/pipermail/lxc-users/2017-March/012925.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-5985"}],"affected":[{"package":{"name":"lxc","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/lxc@1.0.9-0ubuntu3?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-0ubuntu3"}]}],"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","1.0.8-0ubuntu0.4","1.0.9-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.9-0ubuntu3","binary_name":"liblxc1"},{"binary_version":"1.0.9-0ubuntu3","binary_name":"lxc"},{"binary_version":"1.0.9-0ubuntu3","binary_name":"lxc-dev"},{"binary_version":"1.0.9-0ubuntu3","binary_name":"lxc-templates"},{"binary_version":"1.0.9-0ubuntu3","binary_name":"lxc-tests"},{"binary_version":"1.0.9-0ubuntu3","binary_name":"python3-lxc"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5985.json"}},{"package":{"name":"lxc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/lxc@2.0.7-0ubuntu1~16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.7-0ubuntu1~16.04.2"}]}],"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","2.0.5-0ubuntu1~ubuntu16.04.3","2.0.6-0ubuntu1~ubuntu16.04.1","2.0.6-0ubuntu1~ubuntu16.04.2","2.0.7-0ubuntu1~16.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"liblxc1"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lua-lxc"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc-common"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc-dev"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc-templates"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc-tests"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"lxc1"},{"binary_version":"2.0.7-0ubuntu1~16.04.2","binary_name":"python3-lxc"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-5985.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}