Improper input validation in Node.js - CVE-2018-7160
Published: May 10, 2018
Vulnerability identifier: #VU12576
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7160
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists due to improper validation of the Host header, leaving the inspector vulnerable to a DNS rebind attack and bypass same-origin policy. A remote attacker can trick the victim into opening a specially crafted website and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists due to improper validation of the Host header, leaving the inspector vulnerable to a DNS rebind attack and bypass same-origin policy. A remote attacker can trick the victim into opening a specially crafted website and execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Node.js
Fedora
Ubuntu
openEuler
nodejs-current (Alpine package)
nodejs-dev (Ubuntu package)
nodejs-legacy (Ubuntu package)
nodejs (Ubuntu package)
nodejs-doc (Ubuntu package)
libuv
nodejs
v8-devel
npm
nodejs-full-i18n
nodejs-debuginfo
nodejs-devel
nodejs-debugsource
nodejs-docs
nodejs-libs
SINEC INS
Fedora
Ubuntu
openEuler
nodejs-current (Alpine package)
nodejs-dev (Ubuntu package)
nodejs-legacy (Ubuntu package)
nodejs (Ubuntu package)
nodejs-doc (Ubuntu package)
libuv
nodejs
v8-devel
npm
nodejs-full-i18n
nodejs-debuginfo
nodejs-devel
nodejs-debugsource
nodejs-docs
nodejs-libs
SINEC INS
How to mitigate CVE-2018-7160
Install update from vendor's website.
Node.js - addressed in versions 14.20.1, 16.17.1, 18.9.1
nodejs-current (Alpine package) - update to 9.10.1-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
libuv - addressed in versions 1.19.2-1.el7, 1.19.2-1.fc27
nodejs - addressed in versions 6-20180328185917.c2c572ec, 6.14.0-1.el7, 6.14.0-1.fc26, 8-20180328183715.c2c572ec, 8.11.0-1.fc27, 8.11.0-1.fc28, 9-20180405175619.c7b355af
v8-devel - update to 6.8.275.32-1.10.21.0.6
npm - update to 6.14.4-1.10.21.0.6
nodejs-full-i18n - update to 10.21.0-6
nodejs-debuginfo - update to 10.21.0-6
nodejs-devel - update to 10.21.0-6
nodejs-debugsource - update to 10.21.0-6
nodejs-docs - update to 10.21.0-6
nodejs-libs - update to 10.21.0-6
nodejs - update to 10.21.0-6
SINEC INS - update to 1.0.1.1
nodejs-current (Alpine package) - update to 9.10.1-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
libuv - addressed in versions 1.19.2-1.el7, 1.19.2-1.fc27
nodejs - addressed in versions 6-20180328185917.c2c572ec, 6.14.0-1.el7, 6.14.0-1.fc26, 8-20180328183715.c2c572ec, 8.11.0-1.fc27, 8.11.0-1.fc28, 9-20180405175619.c7b355af
v8-devel - update to 6.8.275.32-1.10.21.0.6
npm - update to 6.14.4-1.10.21.0.6
nodejs-full-i18n - update to 10.21.0-6
nodejs-debuginfo - update to 10.21.0-6
nodejs-devel - update to 10.21.0-6
nodejs-debugsource - update to 10.21.0-6
nodejs-docs - update to 10.21.0-6
nodejs-libs - update to 10.21.0-6
nodejs - update to 10.21.0-6
SINEC INS - update to 1.0.1.1
External References
Related Security Bulletins
- Multiple vulnerabilities in Node.js
- Improper input validation in nodejs-current (Alpine package)
- Multiple vulnerabilities in Siemens SINEC INS
- Multiple vulnerabilities in Node.js
- openEuler update for nodejs
- Fedora 28 Modular update for nodejs
- Fedora 28 Modular update for nodejs
- Fedora 28 Modular update for nodejs
- Fedora 27 update for libuv, nodejs
- Fedora 28 update for nodejs
- Fedora 26 update for nodejs
- Fedora EPEL 7 update for libuv, nodejs
- Ubuntu update for nodejs