Out-of-bounds write in Node.js - CVE-2018-12115

 

Out-of-bounds write in Node.js - CVE-2018-12115

Published: August 22, 2018 / Updated: August 23, 2018


Vulnerability identifier: #VU14498
CSH Severity: Low
CVSS v4: 9.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H]
CVE-ID: CVE-2018-12115
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to an out-of-bounds write condition in the Buffer component when used with UCS-2 encoding. A local attacker can cause a targeted system to stop functioning or execute arbitrary code with elevated privileges.


Affected software

Node.js
Gentoo Linux
Ubuntu
Opensuse
Red Hat Openshift Application Runtimes
nodejs (Alpine package)
nodejs (Ubuntu package)
nodejs-dev (Ubuntu package)
nodejs-legacy (Ubuntu package)
nodejs-doc (Ubuntu package)
rh-nodejs6-nodejs (Red Hat package)
rh-nodejs8-nodejs (Red Hat package)

How to mitigate CVE-2018-12115

The vulnerability has been fixed in the versions 6.14.4, 8.11.4 and 10.9.0.

Node.js - addressed in versions 6.14.4, 8.11.4, 10.9
nodejs (Alpine package) - update to 8.11.4-r0
nodejs (Ubuntu package) - addressed in versions 0.10.25~dfsg2-2ubuntu1.2+esm1, 4.2.6~dfsg-1ubuntu4.2+esm1, 8.10.0~dfsg-2ubuntu0.4+esm1
nodejs-dev (Ubuntu package) - addressed in versions 0.10.25~dfsg2-2ubuntu1.2+esm1, 4.2.6~dfsg-1ubuntu4.2+esm1, 8.10.0~dfsg-2ubuntu0.4+esm1
nodejs-legacy (Ubuntu package) - addressed in versions 0.10.25~dfsg2-2ubuntu1.2+esm1, 4.2.6~dfsg-1ubuntu4.2+esm1
nodejs-doc (Ubuntu package) - update to 8.10.0~dfsg-2ubuntu0.4+esm1
rh-nodejs6-nodejs (Red Hat package) - addressed in versions 6.11.3-6.el6, 6.11.3-7.el7
rh-nodejs8-nodejs (Red Hat package) - update to 8.11.4-1.el7

External References

Related Security Bulletins