{"api_version":"1","generated_at":"2026-07-23T13:44:14+00:00","cve":"CVE-2017-16939","urls":{"html":"https://cve.report/CVE-2017-16939","api":"https://cve.report/api/cve/CVE-2017-16939.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-16939","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16939"},"summary":{"title":"CVE-2017-16939","description":"The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-11-24 10:29:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-416","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2019:1170","name":"https://access.redhat.com/errata/RHSA-2019:1170","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2","name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Technical Description"],"title":"kernel/git/torvalds/linux.git - Linux kernel source tree","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html","name":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[SECURITY] [DLA 1200-1] linux security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1069702","name":"https://bugzilla.suse.com/show_bug.cgi?id=1069702","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 1069702 – VUL-0: CVE-2017-16939: kernel-source: local privilege escalation with XFRM sockets","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blogs.securiteam.com/index.php/archives/3535","name":"https://blogs.securiteam.com/index.php/archives/3535","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"],"title":"401 Authorization Required","mime":"text/html","httpstatus":"401","archivestatus":"404"},{"url":"http://seclists.org/fulldisclosure/2017/Nov/40","name":"http://seclists.org/fulldisclosure/2017/Nov/40","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"Full Disclosure: SSD Advisory – Linux Kernel XFRM Privilege Escalation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html","name":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] SUSE-SU-2018:0011-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/101954","name":"http://www.securityfocus.com/bid/101954","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Linux Kernel CVE-2017-16939 Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://access.redhat.com/errata/RHSA-2019:1190","name":"https://access.redhat.com/errata/RHSA-2019:1190","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1318","name":"https://access.redhat.com/errata/RHSA-2018:1318","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11","name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4082","name":"https://www.debian.org/security/2018/dsa-4082","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4082-1 linux","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2","name":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"],"title":"ipsec: Fix aborted xfrm policy dump crash · torvalds/linux@1137b5e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1355","name":"https://access.redhat.com/errata/RHSA-2018:1355","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-16939","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16939","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"16939","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T20:43:59.514Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"DSA-4082","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2018/dsa-4082"},{"name":"[debian-lts-announce] 20171210 [SECURITY] [DLA 1200-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html"},{"name":"SUSE-SU-2018:0011","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.suse.com/show_bug.cgi?id=1069702"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2017/Nov/40"},{"name":"RHSA-2018:1355","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2018:1355"},{"name":"RHSA-2018:1318","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2018:1318"},{"name":"101954","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/101954"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://blogs.securiteam.com/index.php/archives/3535"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"name":"RHSA-2019:1170","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2019:1170"},{"name":"RHSA-2019:1190","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2019:1190"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-11-24T00:00:00.000Z","descriptions":[{"lang":"en","value":"The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2019-05-14T22:06:08.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"DSA-4082","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2018/dsa-4082"},{"name":"[debian-lts-announce] 20171210 [SECURITY] [DLA 1200-1] linux security update","tags":["mailing-list","x_refsource_MLIST"],"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html"},{"name":"SUSE-SU-2018:0011","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.suse.com/show_bug.cgi?id=1069702"},{"tags":["x_refsource_MISC"],"url":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"tags":["x_refsource_MISC"],"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11"},{"tags":["x_refsource_MISC"],"url":"http://seclists.org/fulldisclosure/2017/Nov/40"},{"name":"RHSA-2018:1355","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2018:1355"},{"name":"RHSA-2018:1318","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2018:1318"},{"name":"101954","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/101954"},{"tags":["x_refsource_MISC"],"url":"https://blogs.securiteam.com/index.php/archives/3535"},{"tags":["x_refsource_MISC"],"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"name":"RHSA-2019:1170","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2019:1170"},{"name":"RHSA-2019:1190","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2019:1190"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-16939","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":"The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-4082","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4082"},{"name":"[debian-lts-announce] 20171210 [SECURITY] [DLA 1200-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html"},{"name":"SUSE-SU-2018:0011","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html"},{"name":"https://bugzilla.suse.com/show_bug.cgi?id=1069702","refsource":"MISC","url":"https://bugzilla.suse.com/show_bug.cgi?id=1069702"},{"name":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2","refsource":"MISC","url":"https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11","refsource":"MISC","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11"},{"name":"http://seclists.org/fulldisclosure/2017/Nov/40","refsource":"MISC","url":"http://seclists.org/fulldisclosure/2017/Nov/40"},{"name":"RHSA-2018:1355","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1355"},{"name":"RHSA-2018:1318","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1318"},{"name":"101954","refsource":"BID","url":"http://www.securityfocus.com/bid/101954"},{"name":"https://blogs.securiteam.com/index.php/archives/3535","refsource":"MISC","url":"https://blogs.securiteam.com/index.php/archives/3535"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2","refsource":"MISC","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2"},{"name":"RHSA-2019:1170","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:1170"},{"name":"RHSA-2019:1190","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:1190"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-16939","datePublished":"2017-11-24T10:00:00.000Z","dateReserved":"2017-11-24T00:00:00.000Z","dateUpdated":"2024-08-05T20:43:59.514Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-11-24 10:29:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-416","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.28","versionEndExcluding":"3.2.97","matchCriteriaId":"8ED4911A-BC31-4BE2-AB28-01A181E6CA96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"3.16.52","matchCriteriaId":"B97C01AC-F470-4190-AC38-30DE3DFDCCAC"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"3.18.86","matchCriteriaId":"159A9F92-7961-4484-A763-73C78B0FE4F0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"4.1.48","matchCriteriaId":"F6D0F391-2072-4A4A-8DD7-8C58CA241DC1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"4.4.104","matchCriteriaId":"AB6B77AA-92C6-4FB4-B93B-19C017F14869"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"4.9.60","matchCriteriaId":"494CCDDA-0579-4913-A3B1-BDD14CF5ED75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.13.11","matchCriteriaId":"2CAB99C0-B195-4A8D-A2E5-3D1BCA2E03F4"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"C11E6FB0-C8C0-4527-9AA0-CB9B316F8F43"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"16939","Ordinal":"1","Title":"CVE-2017-16939","CVE":"CVE-2017-16939","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"16939","Ordinal":"1","NoteData":"The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.","Type":"Description","Title":"CVE-2017-16939"},{"CveYear":"2017","CveId":"16939","Ordinal":"2","NoteData":"2017-11-24","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"16939","Ordinal":"3","NoteData":"2019-05-14","Type":"Other","Title":"Modified"}]}}}