CVE-2017-1000378 Denial of service in n/a

Critical 9.8 Published Updated

Attackers can cause stack exhaustion and potential code execution in NetBSD by providing pathological input to the recursive qsort function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-1000378?

CVE-2017-1000378 is a critical denial of service vulnerability in Netbsd Netbsd, published on 19 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-400

Which versions are affected by CVE-2017-1000378?

It affects 1 product.

Products include Netbsd Netbsd.

How do I fix CVE-2017-1000378?

No fix has been published for CVE-2017-1000378 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2017-1000378 being exploited?

There is no known exploitation of CVE-2017-1000378 in the wild and no public exploit code.

All Netbsd Netbsd vulnerabilities

Sources

Also known as GHSA-qc88-87cw-xw5j.

Is CVE-2017-1000378 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free