Files
CVEs-PoC/2017/CVE-2017-1000378.md
T
2025-09-29 21:09:30 +02:00

22 lines
1.1 KiB
Markdown

### [CVE-2017-1000378](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000378)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### Description
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.
### POC
#### Reference
- https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/lnick2023/nicenice
- https://github.com/o-bollverk/api-etl-example
- https://github.com/qazbnm456/awesome-cve-poc
- https://github.com/xbl3/awesome-cve-poc_qazbnm456