Improper input validation in Node.js - CVE-2018-12116
Published: November 29, 2018
Vulnerability identifier: #VU16171
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12116
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The disclosed vulnerability allows a remote attacker to cause DoS condition on the target system.
The vulnerability exists due to insufficient validation of user-provided input. A remote attacker can provide Unicode data for the path option of an HTTP request to trigger a second, unexpected, and user-defined HTTP request to made to the same server and cause the service to crash.
Affected software
Node.js
Gentoo Linux
Ubuntu
Opensuse
nodejs (Alpine package)
nodejs-dev (Ubuntu package)
nodejs-legacy (Ubuntu package)
nodejs (Ubuntu package)
nodejs-doc (Ubuntu package)
rh-nodejs8-nodejs (Red Hat package)
Gentoo Linux
Ubuntu
Opensuse
nodejs (Alpine package)
nodejs-dev (Ubuntu package)
nodejs-legacy (Ubuntu package)
nodejs (Ubuntu package)
nodejs-doc (Ubuntu package)
rh-nodejs8-nodejs (Red Hat package)
How to mitigate CVE-2018-12116
The vulnerability has been fixed in the versions 6.15.0, 8.14.0, 11.3.0.
Node.js - addressed in versions 6.15.0, 8.14.0, 11.3.0
nodejs (Alpine package) - update to 8.14.0-r0
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 (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-doc (Ubuntu package) - update to 8.10.0~dfsg-2ubuntu0.4+esm1
rh-nodejs8-nodejs (Red Hat package) - update to 8.16.0-1.el7
nodejs (Alpine package) - update to 8.14.0-r0
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 (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-doc (Ubuntu package) - update to 8.10.0~dfsg-2ubuntu0.4+esm1
rh-nodejs8-nodejs (Red Hat package) - update to 8.16.0-1.el7