VDB

CVE-2018-7160

CVE-2018-7160 PUBLISHED CVSS 8.800000190734863 HIGH

Withdrawn Advisory: Node.js Inspector RCE via DNS Rebinding

Reported by nodejs · Published May 17, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
nodejs-currentAlpine9.10.0-r0
nodeDHI9.10.0, 8.11.0, 6.14.0
node.jsnodejs9.10.0, 8.11.0, 8.8.1, 6.14.0, 6.8.1

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
The Node.js ProjectNode.js^6.0.0 || ^8.0.0 || ^9.0.0
alpinenodejs-current0
npmnode-inspector6.0
The Node.js ProjectNode.js6.0.0
alpinenodejs0

Timeline

  • May 17, 2018 CVE Published
  • Feb 23, 2021 PoC Published (3 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (14 in total, the first dated here)
  • Sep 19, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-7160
vulnetix vdb fixes CVE-2018-7160

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-7160/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›