CVE Catalog

CVE-2018-7167

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
7.12%

94th percentile - higher than 94% of all known CVEs

Summary

Calling Buffer.fill() or Buffer.alloc() with certain parameters can cause a hang, resulting in a Denial of Service. All versions of Node.js 6.x, 8.x, and 9.x are vulnerable; 10.x versions are not.

Risk Assessment

An attacker can cause the Node.js application to hang, making the service unavailable to users.

Recommendation

Upgrade Node.js to version 10.x or later, which includes fixed implementations of Buffer.alloc() and Buffer.fill().

Other vulnerabilities in Node.js

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS