CVE-2018-7166Nodejs · Node.js
Vulnerability data via NVD (ingested)
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 that may contain sensitive information.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2018-7166product:"Nodejs Node.js"http.html:"Node.js"More intel sources (5)
vuln:CVE-2018-7166vulnerabilities.cve_id: CVE-2018-7166CVE-2018-7166CVE-2018-7166"CVE-2018-7166" exploit -site:nvd.nist.gov