Description

The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTO_ICMP in a socket system call.

INFO

Published Date :

April 5, 2017, 6:59 a.m.

Last Modified :

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

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2017-2671 has a 3 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-2671 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
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-2671.

URL Resource
http://openwall.com/lists/oss-security/2017/04/04/8 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/97407 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
https://access.redhat.com/errata/RHSA-2017:2077
https://access.redhat.com/errata/RHSA-2017:2669
https://access.redhat.com/errata/RHSA-2018:1854
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking Patch Third Party Advisory
https://github.com/danieljiang0415/android_kernel_crash_poc Third Party Advisory
https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking Patch Third Party Advisory
https://twitter.com/danieljiang0415/status/845116665184497664 Third Party Advisory
https://usn.ubuntu.com/3754-1/
https://www.exploit-db.com/exploits/42135/
http://openwall.com/lists/oss-security/2017/04/04/8 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/97407 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
https://access.redhat.com/errata/RHSA-2017:2077
https://access.redhat.com/errata/RHSA-2017:2669
https://access.redhat.com/errata/RHSA-2018:1854
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking Patch Third Party Advisory
https://github.com/danieljiang0415/android_kernel_crash_poc Third Party Advisory
https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking Patch Third Party Advisory
https://twitter.com/danieljiang0415/status/845116665184497664 Third Party Advisory
https://usn.ubuntu.com/3754-1/
https://www.exploit-db.com/exploits/42135/

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

Python Rust Makefile Shell C Assembly CSS JavaScript HTML Batchfile

Updated: 3 days, 17 hours ago
1 stars 0 fork 0 watcher
Born at : Oct. 8, 2024, 9:55 p.m. This repo has been linked 7 different CVEs too.

None

Python

Updated: 3 weeks, 3 days ago
10 stars 1 fork 1 watcher
Born at : Aug. 30, 2017, 2:37 p.m. This repo has been linked 1269 different CVEs too.

None

C

Updated: 7 years, 5 months ago
0 stars 1 fork 1 watcher
Born at : June 8, 2017, 4:28 a.m. This repo has been linked 1 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-2671 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-2671 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
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description A race condition leading to a NULL pointer dereference was found in the Linux kernel's Link Layer Control implementation. A local attacker with access to ping sockets could use this flaw to crash the system. The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTO_ICMP in a socket system call.
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed Reference https://access.redhat.com/security/cve/CVE-2017-2671 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1436649 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description The ping_unhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTO_ICMP in a socket system call. A race condition leading to a NULL pointer dereference was found in the Linux kernel's Link Layer Control implementation. A local attacker with access to ping sockets could use this flaw to crash the system.
    Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1436649 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2017-2671 [No Types Assigned]
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-284 NVD-CWE-noinfo
  • CVE Modified by [email protected]

    Aug. 24, 2018

    Action Type Old Value New Value
    Added Reference https://usn.ubuntu.com/3754-1/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 20, 2018

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

    Jan. 05, 2018

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

    Dec. 31, 2017

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

    Aug. 13, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/42135/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 11, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:N/I:N/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893 No Types Assigned https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/97407 No Types Assigned http://www.securityfocus.com/bid/97407 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/danieljiang0415/android_kernel_crash_poc No Types Assigned https://github.com/danieljiang0415/android_kernel_crash_poc Third Party Advisory
    Changed Reference Type https://twitter.com/danieljiang0415/status/845116665184497664 No Types Assigned https://twitter.com/danieljiang0415/status/845116665184497664 Third Party Advisory
    Changed Reference Type http://openwall.com/lists/oss-security/2017/04/04/8 No Types Assigned http://openwall.com/lists/oss-security/2017/04/04/8 Mailing List, Third Party Advisory
    Changed Reference Type https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893 No Types Assigned https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893 Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-284
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.10.8:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Apr. 07, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/97407 [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-2671 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-2671 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.12475

percentile

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