9.8
CRITICAL
CVE-2017-1000378
NetBSD qsort Stack Overflow & Code Execution
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.

INFO

Published Date :

June 19, 2017, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 3:04 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-1000378 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-1000378 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netbsd netbsd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-1000378.

URL Resource
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup Third Party Advisory
http://www.securityfocus.com/bid/99255 Third Party Advisory VDB Entry
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt Third Party Advisory
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup Third Party Advisory
http://www.securityfocus.com/bid/99255 Third Party Advisory VDB Entry
https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A ETL, Python API example on Nist NVD API

Python

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Aug. 2, 2024, 6:51 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1044 different CVEs too.

None

Updated: 4 months, 1 week ago
13 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1029 different CVEs too.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 2 weeks, 3 days ago
3331 stars 680 fork 680 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1044 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-1000378 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-1000378 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup
    Added Reference http://www.securityfocus.com/bid/99255
    Added Reference https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-399 CWE-400
  • Initial Analysis by [email protected]

    Jun. 29, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup No Types Assigned http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/qsort.c?rev=1.23&content-type=text/x-cvsweb-markup Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/99255 No Types Assigned http://www.securityfocus.com/bid/99255 Third Party Advisory, VDB Entry
    Changed Reference Type https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt No Types Assigned https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt Third Party Advisory
    Added CWE CWE-399
    Added CPE Configuration OR *cpe:2.3:o:netbsd:netbsd:7.1:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Jun. 27, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/99255 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-1000378 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-1000378 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.52 }} -0.06%

score

0.76742

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability