Argument Processing Flaw in Node.js Leads to Memory Safety Issues
CVE-2018-7166
7.5HIGH
What is CVE-2018-7166?
A vulnerability exists in all versions of Node.js 10 prior to 10.9.0 that allows the Buffer.alloc()
function to return uninitialized memory due to a flaw in argument processing. The encoding
argument can mistakenly be interpreted as a start index for the filling operation, which may lead to returning uninitialized, sensitive data if arguments are derived from user inputs. This poses a significant risk as it may expose sensitive information stored in memory.
Affected Version(s)
Node.js All versions of Node.js 10 prior to 10.9.0