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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs857295

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lxc (PTS)buster1:3.1.0+really3.0.3-8fixed
buster (security)1:3.1.0+really3.0.3-8+deb10u1fixed
bullseye1:4.0.6-2+deb11u2fixed
bookworm1:5.0.2-1+deb12u2fixed
trixie1:5.0.3-2fixed
sid1:5.0.3-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lxcsourcewheezy(not affected)
lxcsourcejessie1:1.0.6-6+deb8u6
lxcsource(unstable)1:2.0.7-2857295

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