Buffer overflow in Node.js
CVE-2018-7167
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 class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.071 (94.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 94.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.071 · newest: 0.071 · change: 0.000
Affected products
- Node.js
- The Node.js Project — versions 6.x+, 8.x+, 9.x+
Weakness classification (CWE)
References
- www.securityfocus.com/bid/106363 (VDB Entry, Third Party Advisory, vdb-entry)
- nodejs.org/en/blog/vulnerability/june-2018-security-releases/ (Vendor Advisory)
- security.gentoo.org/glsa/202003-48 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-7167?
- CVE-2018-7167 is a high-severity vulnerability in Node.js, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.5/10. Published 2018-06-13.
- How severe is CVE-2018-7167?
- High severity. CVSS v3 base score is 7.5 out of 10.