Vulnerability Name:

CVE-2017-2671

Assigned:2016-12-01
Published:2017-03-24
Updated:2018-01-04
Summary: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.
CVSS v3 Severity:5.5 Medium (CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
4.8 Medium (Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
6.2 Medium (CCN CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
5.4 Medium (CCN Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
7.8 High (REDHAT CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (REDHAT Temporal CVSS v3 Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:4.9 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
4.9 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-284
CWE-362
References:Source: MLIST
Type: VENDOR_ADVISORY
[oss-security] 20170404 Re: Linux kernel ping socket / AF_LLC connect() sin_family race

Source: BID
Type: VENDOR_ADVISORY
97407

Source: REDHAT
Type: UNKNOWN
RHSA-2017:1842

Source: REDHAT
Type: UNKNOWN
RHSA-2017:2077

Source: REDHAT
Type: UNKNOWN
RHSA-2017:2669

Source: XF
Type: UNKNOWN
linux-kernel-cve20172671-dos(127408)

Source: CONFIRM
Type: VENDOR_ADVISORY
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/net/ipv4/ping.c?id=43a6684519ab0a6c52024b5e25322476cabad893

Source: MISC
Type: VENDOR_ADVISORY
https://github.com/danieljiang0415/android_kernel_crash_poc

Source: CONFIRM
Type: VENDOR_ADVISORY
https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893

Source: MISC
Type: VENDOR_ADVISORY
https://twitter.com/danieljiang0415/status/845116665184497664

Source: EXPLOIT-DB
Type: UNKNOWN
42135

Vulnerable Configuration:Configuration 1:
  • cpe:/o:linux:linux_kernel:4.10.8:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:7:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:rhel_extras_rt:7:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/o:linux:linux_kernel:4.10:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:powerkvm:3.1:*:*:*:*:*:*:*

  • Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:20172671
    V
    CVE-2017-2671
    2018-02-18
    oval:com.redhat.rhsa:def:20171842
    P
    RHSA-2017:1842: kernel security, bug fix, and enhancement update (Important)
    2017-08-01
    oval:com.redhat.rhsa:def:20172077
    P
    RHSA-2017:2077: kernel-rt security, bug fix, and enhancement update (Important)
    2017-08-01
    oval:com.ubuntu.xenial:def:20172671000
    V
    CVE-2017-2671 on Ubuntu 16.04 LTS (xenial) - negligible.
    2017-04-05
    oval:com.ubuntu.precise:def:20172671000
    V
    CVE-2017-2671 on Ubuntu 12.04 LTS (precise) - negligible.
    2017-04-05
    oval:com.ubuntu.artful:def:20172671000
    V
    CVE-2017-2671 on Ubuntu 17.10 (artful) - negligible.
    2017-04-05
    oval:com.ubuntu.trusty:def:20172671000
    V
    CVE-2017-2671 on Ubuntu 14.04 LTS (trusty) - negligible.
    2017-04-05
    BACK
    linux linux kernel 4.10.8
    linux linux kernel 4.10
    ibm powerkvm 3.1