Vulnerability Name:

CVE-2017-1000378 (CCN-127464)

Assigned:2017-06-19
Published:2017-06-19
Updated:2019-10-03
Summary:The NetBSD qsort() function is recursive, and not randomized, an attacker can construct a pathological input array of N elements that causes qsort() to deterministically recurse N/4 times. This allows attackers to consume arbitrary amounts of stack memory and manipulate stack memory to assist in arbitrary code execution attacks. This affects NetBSD 7.1 and possibly earlier versions.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/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): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-400
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2017-1000378

Source: CCN
Type: NetBSD Web site
qsort.c

Source: MISC
Type: Third Party Advisory
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup

Source: BID
Type: Third Party Advisory, VDB Entry
99255

Source: CCN
Type: BID-99255
NetBSD CVE-2017-1000378 Arbitrary Code Execution Vulnerability

Source: XF
Type: UNKNOWN
netbsd-cve20171000378-code-exec(127464)

Source: CCN
Type: Qualys Security Advisory QSA - 2017-06-19
The Stack Clash

Source: MISC
Type: Third Party Advisory
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt

Vulnerable Configuration:Configuration 1:
  • cpe:/o:netbsd:netbsd:*:*:*:*:*:*:*:* (Version <= 7.1)

  • Configuration CCN 1:
  • cpe:/o:netbsd:netbsd:7.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    netbsd netbsd *
    netbsd netbsd 7.1