{"api_version":"1","generated_at":"2026-04-22T19:34:49+00:00","cve":"CVE-2017-5985","urls":{"html":"https://cve.report/CVE-2017-5985","api":"https://cve.report/api/cve/CVE-2017-5985.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5985","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5985"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2017-03-14 17:59:00","updated_at":"2019-10-03 00:03:00"},"problem_types":["CWE-862"],"metrics":[],"references":[{"url":"https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9","name":"https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9","refsource":"CONFIRM","tags":["Issue Tracking","Patch"],"title":"CVE-2017-5985: Ensure target netns is caller-owned · lxc/lxc@16af238 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html","name":"openSUSE-SU-2019:1481","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1481-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/96777","name":"96777","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"LXC 'lxc/lxc_user_nic.c' Remote Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://lists.linuxcontainers.org/pipermail/lxc-devel/2017-March/015535.html","name":"[lxc-devel] 20170309 Security fix for CVE-2017-5985 (lxc-user-nic)","refsource":"MLIST","tags":["Vendor Advisory"],"title":"[lxc-devel] Security fix for CVE-2017-5985 (lxc-user-nic)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1654676","name":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1654676","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Bug #1654676 “lxc-user-nic does not ensure that target netns is ...” : Bugs : lxc package : Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-3224-1","name":"USN-3224-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3224-1: LXC vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2017/03/09/4","name":"[oss-security] 20170309 LXC: CVE-2017-5985: lxc-user-nic didn't verify network namespace ownership","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - LXC: CVE-2017-5985: lxc-user-nic didn't verify network namespace\n ownership","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5985","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5985","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5985","vulnerable":"1","versionEndIncluding":"1.0.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxcontainers","cpe5":"lxc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"5985","vulnerable":"1","versionEndIncluding":"2.0.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"linuxcontainers","cpe5":"lxc","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-5985","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[lxc-devel] 20170309 Security fix for CVE-2017-5985 (lxc-user-nic)","refsource":"MLIST","url":"https://lists.linuxcontainers.org/pipermail/lxc-devel/2017-March/015535.html"},{"name":"https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9","refsource":"CONFIRM","url":"https://github.com/lxc/lxc/commit/16af238036a5464ae8f2420ed3af214f0de875f9"},{"name":"96777","refsource":"BID","url":"http://www.securityfocus.com/bid/96777"},{"name":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1654676","refsource":"CONFIRM","url":"https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1654676"},{"name":"USN-3224-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-3224-1"},{"name":"[oss-security] 20170309 LXC: CVE-2017-5985: lxc-user-nic didn't verify network namespace ownership","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2017/03/09/4"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1481","url":"http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00073.html"}]}},"nvd":{"publishedDate":"2017-03-14 17:59:00","lastModifiedDate":"2019-10-03 00:03:00","problem_types":["CWE-862"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":3.3,"baseSeverity":"LOW"},"exploitabilityScore":1.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxcontainers:lxc:*:*:*:*:*:*:*:*","versionEndIncluding":"1.0.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:linuxcontainers:lxc:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndIncluding":"2.0.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5985","Ordinal":"102603","Title":"CVE-2017-5985","CVE":"CVE-2017-5985","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5985","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5985","Ordinal":"2","NoteData":"2017-03-14","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5985","Ordinal":"3","NoteData":"2019-05-31","Type":"Other","Title":"Modified"}]}}}