Name | CVE-2017-5985 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 857295 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lxc (PTS) | jessie, jessie (lts) | 1:1.0.6-6+deb8u6 | fixed |
| stretch | 1:2.0.7-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 1:3.1.0+really3.0.3-8+deb10u1 | fixed |
| bullseye | 1:4.0.6-2+deb11u2 | fixed |
| bookworm | 1:5.0.2-1+deb12u2 | fixed |
| sid, trixie | 1:6.0.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
lxc | source | wheezy | (not affected) | | | |
lxc | source | jessie | 1:1.0.6-6+deb8u6 | | | |
lxc | source | (unstable) | 1:2.0.7-2 | | | 857295 |
Notes
[wheezy] - lxc <not-affected> (vulnerable code not present)
https://lists.linuxcontainers.org/pipermail/lxc-users/2017-March/012925.html
https://launchpad.net/bugs/1654676
master: https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9
stable-2.0: https://github.com/lxc/lxc/commit/d512bd5efb0e407eba350c4e649c464a65b712a3
stable-1.0: https://github.com/lxc/lxc/commit/c905f00ad78b78a5e9c0d67504b86e00dfe085ec