CVE-2018-7164 Denial of service in Node.js
An attacker can cause a denial of service by sending tiny data chunks, exploiting excessive memory consumption in Node.js network streams.
- 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-7164?
CVE-2018-7164 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
Node.js versions 9.7.0 and later and 10.x are vulnerable and the severity is MEDIUM. A bug introduced in 9.7.0 increases the memory consumed when reading from the network into JavaScript using the net.Socket object directly as a stream. An attacker could use this cause a denial of service by sending tiny chunks of data in short succession. This vulnerability was restored by reverting to the prior behaviour.
Weakness: CWE-400
Which versions are affected by CVE-2018-7164?
It affects 1 product.
Products include Nodejs Node.js.
How do I fix CVE-2018-7164?
Apply the vendor's patch.
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-7164 being exploited?
There is no known exploitation of CVE-2018-7164 in the wild and no public exploit code.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as DEBIAN-CVE-2018-7164, GHSA-32gr-2v7q-xgqj.