Vulnerability in Node.js
CVE-2018-7160
The Node.js inspector, in 6.x and later is vulnerable to a DNS rebinding attack which could be exploited to perform remote code execution. An attack is possible from malicious websites open in a web browser on the same computer, or another computer with network access to the computer running the Node.js process. A malicious website could use a DNS rebinding attack to trick the web browser to bypass same-origin-policy checks and to allow HTTP connections to localhost or to hosts on the local network. If a Node.js process with the debug port active is running on localhost or on a host on the local network, the malicious website could connect to it as a debugger, and get full code execution access.
EPSS: 0.099 (95.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Nodejs Node.js
- The Node.js Project — versions ^6.0.0 || ^8.0.0 || ^9.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve-request@iojs.org (Third Party Advisory, x_refsource_MISC)
- cve-request@iojs.org (x_refsource_CONFIRM, Vendor Advisory)
- cve-request@iojs.org (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2018-7160?
- CVE-2018-7160 is a high-severity vulnerability in Node.js, classified under CWE-350. CVSS score: 8.8/10. Published 2018-05-17.
- How severe is CVE-2018-7160?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2018-7160 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.