Vulnerability: Recursive and Non-Randomized qsort() Function in NetBSD

Vulnerability: Recursive and Non-Randomized qsort() Function in NetBSD

CVE-2017-1000378 · HIGH Severity

AV:N/AC:L/AU:N/C:P/I:P/A:P

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.

Learn more about our Web Application Penetration Testing UK.