Resource exhaustion in OpenBSD
CVE-2017-1000373
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS: 0.134 (96.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.134 · newest: 0.134 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.exploit-db.com/exploits/42271/ (exploit)
- support.apple.com/HT208144
- www.qualys.com/2017/06/19/stack-clash/stack-clash.txt (Third Party Advisory)
- cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/qsort.c (Third Party Advisory, Mitigation)
- www.securityfocus.com/bid/99177 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securitytracker.com/id/1039427 (vdb-entry)
- support.apple.com/HT208113
- support.apple.com/HT208112
- support.apple.com/HT208115
Frequently asked questions
- What is CVE-2017-1000373?
- CVE-2017-1000373 is a medium-severity vulnerability in OpenBSD, classified under Uncontrolled Resource Consumption. CVSS score: 6.5/10. Published 2017-06-19.
- How severe is CVE-2017-1000373?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2017-1000373 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.