Vulnerability Name:

CVE-2017-1000373 (CCN-127461)

Assigned:2017-06-19
Published:2017-06-19
Updated:2017-10-24
Summary:The OpenBSD 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 OpenBSD 6.1 and possibly earlier versions.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L)
5.9 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/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): None
Integrity (I): Low
Availibility (A): Low
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.6 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:P/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:6.4 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
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-1000373

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

Source: CCN
Type: BID-99177
OpenBSD CVE-2017-1000373 Denial of Service Vulnerability

Source: SECTRACK
Type: UNKNOWN
1039427

Source: CCN
Type: OpenBSD Web site
qsort.c

Source: MISC
Type: Mitigation, Third Party Advisory
https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c?rev=1.15&content-type=text/x-cvsweb-markup

Source: XF
Type: UNKNOWN
openbsd-cve20171000373-code-exec(127461)

Source: CONFIRM
Type: UNKNOWN
https://support.apple.com/HT208112

Source: CONFIRM
Type: UNKNOWN
https://support.apple.com/HT208113

Source: CONFIRM
Type: UNKNOWN
https://support.apple.com/HT208115

Source: CONFIRM
Type: UNKNOWN
https://support.apple.com/HT208144

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [06-28-2017]

Source: EXPLOIT-DB
Type: UNKNOWN
42271

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

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2017-1000373

Vulnerable Configuration:Configuration 1:
  • cpe:/o:openbsd:openbsd:*:*:*:*:*:*:*:* (Version <= 6.1)

  • Configuration CCN 1:
  • cpe:/o:openbsd:openbsd:6.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    openbsd openbsd *
    openbsd openbsd 6.1