CVE-2018-7160
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nodejs-current | Alpine | 9.10.0-r0 |
| node | DHI | 9.10.0, 8.11.0, 6.14.0 |
| node.js | nodejs | 9.10.0, 8.11.0, 8.8.1, 6.14.0, 6.8.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The Node.js Project | Node.js | ^6.0.0 || ^8.0.0 || ^9.0.0 |
| alpine | nodejs-current | 0 |
| npm | node-inspector | 6.0 |
| The Node.js Project | Node.js | 6.0.0 |
| alpine | nodejs | 0 |
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
References
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-7160 advisory
- https://support.f5.com/csp/article/K63025104?utm_source=f5support&utm_medium=RSS url
- https://github.com/advisories/GHSA-wq4c-wm6x-jw44 advisory