Severity
7.5HIGH
EPSS
0.9%
top 24.97%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 21
Latest updateMay 13

Description

In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can cause `Buffer.alloc()` to return uninitialized memory. This method is intended to be safe and only return initialized, or cleared, memory. The third argument specifying `encoding` can be passed as a number, this is misinterpreted by `Buffer's` internal "fill" method as the `start` to a fill operation. This flaw may be abused where `Buffer.alloc()` arguments are derived from user input to return uncleared memory blocks

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDnodejs/node.js10.0.010.9.0
CVEListV5the_node.js_project/node.jsAll versions of Node.js 10 prior to 10.9.0

🔴Vulnerability Details

2
GHSA
GHSA-6v28-c2x2-8p46: In all versions of Node2022-05-13
CVEList
CVE-2018-7166: In all versions of Node2018-08-21

📋Vendor Advisories

2
Red Hat
nodejs: Unintentional exposure of uninitialized memory2018-08-11
Debian
CVE-2018-7166: nodejs - In all versions of Node.js 10 prior to 10.9.0, an argument processing flaw can c...2018

💬Community

2
Bugzilla
CVE-2018-7166 nodejs: Unintentional exposure of uninitialized memory [fedora-all]2018-08-24
Bugzilla
CVE-2018-7166 nodejs: Unintentional exposure of uninitialized memory2018-08-22
CVE-2018-7166 (HIGH CVSS 7.5) | In all versions of Node.js 10 prior | cvebase.io