CVE-2018-7167 Denial of service in Node.js
Attackers can cause a Denial of Service in Node.js applications by triggering hangs in Buffer.fill() or Buffer.alloc() with specific parameters.
- 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-7167?
CVE-2018-7167 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
Calling Buffer.fill() or Buffer.alloc() with some parameters can lead to a hang which could result in a Denial of Service. In order to address this vulnerability, the implementations of Buffer.alloc() and Buffer.fill() were updated so that they zero fill instead of hanging in these cases. All versions of Node.js 6.x (LTS "Boron"), 8.x (LTS "Carbon"), and 9.x are vulnerable. All versions of Node.js 10.x (Current) are NOT vulnerable.
Weakness: CWE-119
Which versions are affected by CVE-2018-7167?
It affects 1 product.
Linux distribution packages (4)
nodejs6 SUSE:Enterprise Storage 4 | All versions | 6.14.3-11.15.1 |
nodejs6 SUSE:Linux Enterprise Module for Web and Scripting 12 | All versions | 6.14.3-11.15.1 |
nodejs6 SUSE:OpenStack Cloud 7 | All versions | 6.14.3-11.15.1 |
nodejs6 SUSE:OpenStack Cloud Crowbar 8 | All versions | 6.14.3-11.15.1 |
Products include Nodejs Node.js.
How do I fix CVE-2018-7167?
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-7167 being exploited?
There is no known exploitation of CVE-2018-7167 in the wild and no public exploit code.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as ALPINE-CVE-2018-7167, CLEANSTART-2026-JF88301, CLEANSTART-2026-WI10570, DEBIAN-CVE-2018-7167, GHSA-jr5v-587f-389p, SUSE-SU-2018:1892-1 and 1 more.