Buffer Overflow Vulnerability in Node.js Affecting Multiple Versions
CVE-2018-12115
7.5HIGH
What is CVE-2018-12115?
The vulnerability in Node.js prior to versions 6.14.4, 8.11.4, and 10.9.0 arises from a flaw when utilizing UCS-2 encoding, which is also known as 'ucs2', 'utf16le', or 'utf-16le'. The Buffer#write()
function can be exploited to write data beyond the allocated boundaries of a buffer. As a result, attempts to write starting from the second-to-last position could miscalculate the maximum length of the input bytes, leading to potential data corruption or application crashes.
Affected Version(s)
Node.js All versions of Node.js prior to 6.14.4, 8.11.4 and 10.9.0