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
Opensuse
nodejs (Alpine package)
rh-nodejs6-nodejs (Red Hat package)
rh-nodejs8-nodejs (Red Hat package)
Red Hat Openshift Application Runtimes

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
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