7.8
HIGH
CVE-2017-16939
Linux Kernel XFRM Privilege Escalation and DoS
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.

INFO

Published Date :

Nov. 24, 2017, 10:29 a.m.

Last Modified :

Nov. 21, 2024, 3:17 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2017-16939 has a 24 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-16939 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Debian debian_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-16939.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch Technical Description
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2017/Nov/40 Mailing List Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 Patch Vendor Advisory
http://www.securityfocus.com/bid/101954 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1170 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1190 Third Party Advisory
https://blogs.securiteam.com/index.php/archives/3535 Exploit Patch Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1069702 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html Third Party Advisory
https://www.debian.org/security/2018/dsa-4082 Third Party Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch Technical Description
http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html Mailing List Third Party Advisory
http://seclists.org/fulldisclosure/2017/Nov/40 Mailing List Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 Patch Vendor Advisory
http://www.securityfocus.com/bid/101954 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1170 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:1190 Third Party Advisory
https://blogs.securiteam.com/index.php/archives/3535 Exploit Patch Third Party Advisory
https://bugzilla.suse.com/show_bug.cgi?id=1069702 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html Third Party Advisory
https://www.debian.org/security/2018/dsa-4082 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

Auto Root / Privilege Escalation Exploit

autoroot privilege privilege-escalation root

Shell

Updated: 3 months, 1 week ago
2 stars 1 fork 1 watcher
Born at : June 11, 2024, 9:57 p.m. This repo has been linked 85 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 1 month, 3 weeks ago
28 stars 5 fork 5 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : June 14, 2023, 7:23 p.m. This repo has been linked 50 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 1 day, 14 hours ago
107 stars 15 fork 15 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 7 months ago
1 stars 0 fork 0 watcher
Born at : April 26, 2023, 7:11 a.m. This repo has been linked 50 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 3, 2022, 1:47 p.m. This repo has been linked 49 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 3 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2021, 9:46 a.m. This repo has been linked 56 different CVEs too.

Linux Eelvation(持续更新)

cve-2021-3156 cve-2019-7304 cve-2019-13272 cve-2018-18955 cve-2018-1000001 cve-2018-17182 cve-2017-1000367 cve-2017-1000112 cve-2017-16995 cve-2017-16939 linux-kernel elevation cve-2021-4034 cve-2022-0847

C Shell Python Ruby Makefile HTML

Updated: 1 week ago
393 stars 92 fork 92 watcher
Born at : March 30, 2021, 7:09 a.m. This repo has been linked 72 different CVEs too.

Linux Elevation

C Shell Python Ruby Makefile HTML

Updated: 1 year, 9 months ago
2 stars 6 fork 6 watcher
Born at : Dec. 29, 2020, 12:49 a.m. This repo has been linked 56 different CVEs too.

Linux kernel EoP exp

C Shell Python Ruby Makefile HTML C++

Updated: 2 weeks, 2 days ago
74 stars 17 fork 17 watcher
Born at : May 13, 2020, 6:28 a.m. This repo has been linked 55 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 3, 2020, 2:04 p.m. This repo has been linked 50 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2020, 3:07 p.m. This repo has been linked 50 different CVEs too.

Localroot-ALL-CVE~

localroot cheatsheet security kernel linux exploits cve linux-privilege-escalation cybersecurity infosec pentesting

C Shell Python Ruby Makefile HTML Perl Batchfile

Updated: 1 month ago
128 stars 48 fork 48 watcher
Born at : Feb. 2, 2020, 6:25 a.m. This repo has been linked 93 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 10 months ago
0 stars 1 fork 1 watcher
Born at : Jan. 17, 2020, 2:20 a.m. This repo has been linked 50 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-16939 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-16939 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jan. 19, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html Mailing List, Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1318 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1318 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1355 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1355 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2019:1170 No Types Assigned https://access.redhat.com/errata/RHSA-2019:1170 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2019:1190 No Types Assigned https://access.redhat.com/errata/RHSA-2019:1190 Third Party Advisory
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1069702 Issue Tracking https://bugzilla.suse.com/show_bug.cgi?id=1069702 Issue Tracking, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2018/dsa-4082 No Types Assigned https://www.debian.org/security/2018/dsa-4082 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.13.11 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.28 up to (excluding) 3.2.97 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.16.52 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.17 up to (excluding) 3.18.86 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.1.48 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.4.104 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.60 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.13.11
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-416
  • CVE Modified by [email protected]

    May. 14, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:1190 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 14, 2019

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2019:1170 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 10, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1355 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2018:1318 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 04, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 11, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4082 [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 06, 2018

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 08, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/101954 No Types Assigned http://www.securityfocus.com/bid/101954 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2 No Types Assigned https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch, Third Party Advisory
    Changed Reference Type http://seclists.org/fulldisclosure/2017/Nov/40 No Types Assigned http://seclists.org/fulldisclosure/2017/Nov/40 Mailing List, Third Party Advisory
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 No Types Assigned http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11 Patch, Vendor Advisory
    Changed Reference Type https://bugzilla.suse.com/show_bug.cgi?id=1069702 No Types Assigned https://bugzilla.suse.com/show_bug.cgi?id=1069702 Issue Tracking
    Changed Reference Type https://blogs.securiteam.com/index.php/archives/3535 No Types Assigned https://blogs.securiteam.com/index.php/archives/3535 Exploit, Patch, Third Party Advisory
    Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2 No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2 Patch, Technical Description
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.13.11
  • CVE Modified by [email protected]

    Nov. 26, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/101954 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-16939 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-16939 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} -0.00%

score

0.00490

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability