CVE-2017-5985
publishedlxc: lxc-user-nic didn't verify network namespace ownership
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| Ubuntu | trusty | liblxc1 | Advisory build | 1.0.9-0ubuntu3 | USN-3224-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-devels390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc-develx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1aarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1ppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1s390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | liblxc1x86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcs390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxcx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completions390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | lxc-bash-completionx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsaarch64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsppc64le | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfss390x | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_cgfsx86_64 | Advisory build | 4.0.9-1.1 | OPENSUSE-SU-2024:11030-1 |
| Ubuntu | trusty | lxc | Advisory build | 1.0.9-0ubuntu3 | USN-3224-1 |
| Ubuntu | trusty | lxc-templates | Advisory build | 1.0.9-0ubuntu3 | USN-3224-1 |
| Ubuntu | trusty | lxc-tests | Advisory build | 1.0.9-0ubuntu3 | USN-3224-1 |
| Ubuntu | trusty | python3-lxc | Advisory build | 1.0.9-0ubuntu3 | USN-3224-1 |
| Ubuntu | xenial | liblxc1 | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lua-lxc | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lxc | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lxc-common | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lxc-templates | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lxc-tests | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | lxc1 | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
| Ubuntu | xenial | python3-lxc | Advisory build | 2.0.7-0ubuntu1~16.04.2 | USN-3224-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- openSUSE-SU-2019:1481 http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html
- [oss-security] 20170309 LXC: CVE-2017-5985: lxc-user-nic didn't verify network namespace ownership http://www.openwall.com/lists/oss-security/2017/03/09/4
- 96777 http://www.securityfocus.com/bid/96777
- USN-3224-1 http://www.ubuntu.com/usn/USN-3224-1
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1654676
- https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9
- [lxc-devel] 20170309 Security fix for CVE-2017-5985 (lxc-user-nic) https://lists.linuxcontainers.org/pipermail/lxc-devel/2017-March/015535.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6da8955652899c49d42126273b975de95eb46063fda8f71f06e63eb1f1d5eb38
- Ingested
- 23 Sep 2026, 07:42:47 UTC
- Source record
- Official CVE record