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)

EPSS: 0.134 (96.0th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.