CVE-2018-7162 Denial of service in Node.js

High 7.5 Published Updated

An attacker can crash a Node.js TLS server by sending duplicate or unexpected handshake messages, causing a denial of service.

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

What is CVE-2018-7162?

CVE-2018-7162 is a high-severity denial of service vulnerability in Nodejs Node.js, published on 13 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of Node.js 9.x and 10.x are vulnerable and the severity is HIGH. An attacker can cause a denial of service (DoS) by causing a node process which provides an http server supporting TLS server to crash. This can be accomplished by sending duplicate/unexpected messages during the handshake. This vulnerability has been addressed by updating the TLS implementation.

Weakness: CWE-20

Which versions are affected by CVE-2018-7162?

It affects 1 product.

Products include Nodejs Node.js.

How do I fix CVE-2018-7162?

Upgrade to a fixed version.

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-2018-7162 being exploited?

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

All Nodejs Node.js vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-7162, GHSA-h4wv-8vxr-jgjq.

Is CVE-2018-7162 in your software?

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

Check your SBOMs for free