Vulnerabilities · 2017 · Netbsd
CVE-2017-1000378
Netbsd vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Netbsd. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Netbsd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsw · Third Party Advisory
- www.securityfocus.com/bid/99255 · Third Party Advisory
- www.qualys.com/2017/06/19/stack-clash/stack-clash.txt · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-1000378
- cve.org/CVERecord?id=CVE-2017-1000378
More vulnerabilities in Netbsd products
CVE-2023-45198CVE-2021-45489CVE-2021-45488CVE-2021-45487CVE-2021-45484CVE-2020-26139CVE-2017-1000375CVE-2017-1000374All 157
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.