CVE-2017-5985

NameCVE-2017-5985
Descriptionlxc-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow (attack range: local)
Debian Bugs857295

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lxc (PTS)jessie1:1.0.6-6+deb8u6fixed
jessie (security)1:1.0.6-6+deb8u2vulnerable
stretch1:2.0.7-2+deb9u2fixed
buster1:3.1.0+really3.0.3-8fixed
bullseye1:3.1.0+really3.0.4-1fixed
sid1:3.1.0+really3.0.4-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lxcsource(unstable)1:2.0.7-2low857295
lxcsourcejessie1:1.0.6-6+deb8u6low
lxcsourcewheezy(not affected)

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

Search for package or bug name: Reporting problems