Every CVE Search/ Get API key

CVE-2018-7160

Withdrawn Advisory: Node.js Inspector RCE via DNS Rebinding

8.8 HighFix available

CVE-2018-7160 is a high vulnerability (CVSS 8.8) in Node.js, published May 9, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 9.49%, the 95th percentile. Fixed in nodejs 8.11.0-r0.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

9.49%Up 8.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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.

Record
CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-350, CWE-290
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-7160
Weakness
CWE-350
Updated
2026-11-02
EUVDEUVD-2022-5619 No score

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.

Record
EUVD-2022-5619
Updated
2026-11-02
GitHub AdvisoriesGHSA-wq4c-wm6x-jw44 8.8

Withdrawn Advisory: Node.js Inspector RCE via DNS Rebinding

Withdrawn Advisory

This advisory has been withdrawn because this vulnerability affects inspector code in https://github.com/nodejs/node, not the legacy debugger at https://github.com/node-inspector/node-inspector. https://github.com/nodejs/node is not in a supported ecosystem.

Original Description

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.

Record
GHSA-wq4c-wm6x-jw44
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-290
Updated
2026-11-02
OSVALPINE-CVE-2018-7160 8.8

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.

Record
ALPINE-CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-7160 8.8

CVE-2018-7160 does not affect BellSoft software

Record
BELL-CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 9 moreShow less
OSV 8.8

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.

Record
CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-7160 8.8

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.

Record
DEBIAN-CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-wq4c-wm6x-jw44 8.8

Withdrawn Advisory: Node.js Inspector RCE via DNS Rebinding

Withdrawn Advisory

This advisory has been withdrawn because this vulnerability affects inspector code in https://github.com/nodejs/node, not the legacy debugger at https://github.com/node-inspector/node-inspector. https://github.com/nodejs/node is not in a supported ecosystem.

Original Description

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.

Record
GHSA-wq4c-wm6x-jw44
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-290
Updated
2026-11-02
OSVRHSA-2018:2949 8.1

Red Hat Security Advisory: rh-nodejs8-nodejs security update

Record
RHSA-2018:2949
CVSS 3.0
8.1 HighCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-7160 8.8

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.

Record
UBUNTU-CVE-2018-7160
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2019-0277 No score

Updated nodejs packages fix security vulnerabilities

This update provides nodejs v6.17.1 fixing at least the following security issues:

The c-ares function ares_parse_naptr_reply(), which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer (CVE-2017-1000381)

Fix for 'path' module regular expression denial of service (CVE-2018-7158)

Reject spaces in HTTP Content-Length header values (CVE-2018-7159)

Fix for inspector DNS rebinding vulnerability (CVE-2018-7160)

buffer: Fixes Denial of Service vulnerability where calling Buffer.fill() could hang (CVE-2018-7167)

buffer: Fix out-of-bounds (OOB) write in Buffer.write() for UCS-2 encoding (CVE-2018-12115)

Node.js: HTTP request splitting (CVE-2018-12116)

Node.js: Debugger port 5858 listens on any interface by default (CVE-2018-12120)

Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)

Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122)

Node.js: Hostname spoofing in URL parser for javascript protocol (CVE-2018-12123)

Node.js: Slowloris HTTP Denial of Service with keep-alive (CVE-2019-5737)

Node.js: Denial of Service with keep-alive HTTP connections (CVE-2019-5739)

For other fixes in this update, see the referenced release logs.

Record
MGASA-2019-0277
Updated
2026-11-02
OSVSUSE-SU-2018:1183-1 No score

Security update for nodejs6

This update for nodejs6 fixes the following issues:

  • Fix some node-gyp permissions

  • New upstream LTS release 6.14.1:

    • Security fixes:
      • CVE-2018-7160: Fix for inspector DNS rebinding vulnerability (bsc#1087463)
      • CVE-2018-7158: Fix for 'path' module regular expression denial of service (bsc#1087459)
      • CVE-2018-7159: Reject spaces in HTTP Content-Length header values (bsc#1087453)
  • New upstream LTS release 6.13.1:

    • http,tls: better support for IPv6 addresses
    • console: added console.count() and console.clear()
    • crypto:
      • expose ECDH class
      • added cypto.randomFill() and crypto.randomFillSync()
      • warn on invalid authentication tag length
    • deps: upgrade libuv to 1.16.1
    • dgram: added socket.setMulticastInterface()
    • http: add agent.keepSocketAlive and agent.reuseSocket as to allow overridable keep-alive behavior of Agent
    • lib: return this from net.Socket.end()
    • module: add builtinModules api that provides list of all builtin modules in Node
    • net: return this from getConnections()
    • promises: more robust stringification for unhandled rejections
    • repl: improve require() autocompletion
    • src:
      • add openssl-system-ca-path configure option
      • add --use-bundled-ca --use-openssl-ca check
      • add process.ppid
    • tls: accept lookup option for tls.connect()
    • tools,build: a new macOS installer!
    • url: WHATWG URL api support
    • util: add %i and %f formatting specifiers
  • remove any old manpage files in %pre from before update-alternatives were used to manage symlinks to these manpages.

  • Add Recommends and BuildRequire on python2 for npm. node-gyp requires this old version of python for now. This is only needed for binary modules.

  • even on recent codestreams there is no binutils gold on s390 only on s390x

  • New upstream LTS release 6.12.3:

    • v8: profiler-related fixes
    • mostly documentation and test related changes
  • Enable CI tests in %check target

Record
SUSE-SU-2018:1183-1
Updated
2026-11-02
OSVSUSE-SU-2019:14246-1 No score

Security update for Mozilla Firefox

This update contains the Mozilla Firefox ESR 68.2 release.

Mozilla Firefox was updated to ESR 68.2 release:

  • Enterprise: New administrative policies were added. More information and templates are available at the Policy Templates page.

  • Various security fixes: MFSA 2019-33 (bsc#1154738)

    • CVE-2019-15903: Heap overflow in expat library in XML_GetCurrentLineNumber
    • CVE-2019-11757: Use-after-free when creating index updates in IndexedDB
    • CVE-2019-11758: Potentially exploitable crash due to 360 Total Security
    • CVE-2019-11759: Stack buffer overflow in HKDF output
    • CVE-2019-11760: Stack buffer overflow in WebRTC networking
    • CVE-2019-11761: Unintended access to a privileged JSONView object
    • CVE-2019-11762: document.domain-based origin isolation has same-origin- property violation
    • CVE-2019-11763: Incorrect HTML parsing results in XSS bypass technique
    • CVE-2019-11764: Memory safety bugs fixed in Firefox 70 and Firefox ESR 68.2

Other Issues resolved:

  • [bsc#1104841] Newer versions of firefox have a dependency on GLIBCXX_3.4.20
  • [bsc#1074235] MozillaFirefox: background tab crash reports sent inadvertently without user opt-in
  • [bsc#1043008] Firefox hangs randomly when browsing and scrolling
  • [bsc#1025108] Firefox stops loading page until mouse is moved
  • [bsc#905528] Firefox malfunctions due to broken omni.ja archives
Record
SUSE-SU-2019:14246-1
Updated
2026-11-02
OSVUSN-4796-1 No score

nodejs vulnerabilities

Alexander Minozhenko and James Bunton discovered that Node.js did not properly handle wildcards in name fields of X.509 TLS certificates. An attacker could use this vulnerability to execute a machine-in-the-middle- attack. This issue only affected Ubuntu 14.04 ESM and 16.04 ESM. (CVE-2016-7099)

It was discovered that Node.js incorrectly handled certain NAPTR responses. A remote attacker could possibly use this issue to cause applications using Node.js to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 ESM. (CVE-2017-1000381)

Nikita Skovoroda discovered that Node.js mishandled certain input, leading to an out of bounds write. An attacker could use this vulnerability to cause a denial of service (crash) or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-12115)

Arkadiy Tetelman discovered that Node.js improperly handled certain malformed HTTP requests. An attacker could use this vulnerability to inject unexpected HTTP requests. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-12116)

Jan Maybach discovered that Node.js did not time out if incomplete HTTP/HTTPS headers were received. An attacker could use this vulnerability to cause a denial of service by keeping HTTP/HTTPS connections alive for a long period of time. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-12122)

Martin Bajanik discovered that the url.parse() method would return incorrect results if it received specially crafted input. An attacker could use this vulnerability to spoof the hostname and bypass hostname-specific security controls. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-12123)

It was discovered that Node.js 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 with network access to the system running the Node.js process. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-7160)

It was discovered that the Buffer.fill() and Buffer.alloc() methods improperly handled certain inputs. An attacker could use this vulnerability to cause a denial of service. This issue only affected Ubuntu 18.04 ESM. (CVE-2018-7167)

Marco Pracucci discovered that Node.js mishandled HTTP and HTTPS connections. An attacker could use this vulnerability to cause a denial of service. This issue only affected Ubuntu 18.04 ESM. (CVE-2019-5737)

Record
USN-4796-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nodejs
Alpine:v3.10
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.11
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.12
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.13
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.14
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.15
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.16
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.17
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.18
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.19
before 8.11.0-r0
8.11.0-r0
Show 37 moreShow less
Affected packages
PackageAffectedFixed
nodejs
Alpine:v3.20
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.21
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.22
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.23
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.24
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.8
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.9
before 8.11.0-r0
8.11.0-r0
nodejs
Debian:12
before 8.11.1~dfsg-2
8.11.1~dfsg-2
nodejs
Debian:13
before 8.11.1~dfsg-2
8.11.1~dfsg-2
nodejs
Debian:14
before 8.11.1~dfsg-2
8.11.1~dfsg-2
nodejs
Mageia:6
before 6.17.1-8.mga6
6.17.1-8.mga6
http-parser
Mageia:6
before 2.9.2-1.mga6
2.9.2-1.mga6
libuv
Mageia:6
before 1.16.1-1.mga6
1.16.1-1.mga6
rh-nodejs8-nodejs
Red Hat:rhel_software_collections:3::el7
before 0:8.11.4-1.el7
0:8.11.4-1.el7
rh-nodejs8-nodejs-debuginfo
Red Hat:rhel_software_collections:3::el7
before 0:8.11.4-1.el7
0:8.11.4-1.el7
rh-nodejs8-nodejs-devel
Red Hat:rhel_software_collections:3::el7
before 0:8.11.4-1.el7
0:8.11.4-1.el7
rh-nodejs8-nodejs-docs
Red Hat:rhel_software_collections:3::el7
before 0:8.11.4-1.el7
0:8.11.4-1.el7
rh-nodejs8-npm
Red Hat:rhel_software_collections:3::el7
before 0:5.6.0-8.11.4.1.el7
0:5.6.0-8.11.4.1.el7
nodejs6
SUSE:OpenStack Cloud 7
before 6.14.1-11.12.1
6.14.1-11.12.1
nodejs6
SUSE:Linux Enterprise Module for Web and Scripting 12
before 6.14.1-11.12.1
6.14.1-11.12.1
nodejs6
SUSE:Enterprise Storage 4
before 6.14.1-11.12.1
6.14.1-11.12.1
MozillaFirefox
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68.2.0-78.51.4
68.2.0-78.51.4
MozillaFirefox-branding-SLED
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68-21.9.8
68-21.9.8
firefox-atk
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.26.1-2.8.4
2.26.1-2.8.4
firefox-cairo
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.15.10-2.13.4
1.15.10-2.13.4
firefox-gdk-pixbuf
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.36.11-2.8.4
2.36.11-2.8.4
firefox-glib2
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.54.3-2.14.7
2.54.3-2.14.7
firefox-gtk3
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.10.9-2.15.3
3.10.9-2.15.3
firefox-harfbuzz
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.7.5-2.7.4
1.7.5-2.7.4
firefox-libffi
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.2.1.git259-2.3.3
3.2.1.git259-2.3.3
firefox-libffi-gcc5
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 5.3.1+r233831-14.1
5.3.1+r233831-14.1
firefox-pango
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.40.14-2.7.4
1.40.14-2.7.4
mozilla-nspr
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 4.21-29.6.1
4.21-29.6.1
mozilla-nss
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.45-38.9.3
3.45-38.9.3
nodejs
Ubuntu:Pro:18.04:LTS
before 8.10.0~dfsg-2ubuntu0.4+esm1, plus listed versions
6.11.4~dfsg-1ubuntu16.11.4~dfsg-1ubuntu26.12.0~dfsg-1ubuntu16.12.0~dfsg-2ubuntu16.12.0~dfsg-2ubuntu2
Show 4 moreShow less
8.10.0~dfsg-28.10.0~dfsg-2ubuntu0.28.10.0~dfsg-2ubuntu0.38.10.0~dfsg-2ubuntu0.4
8.10.0~dfsg-2ubuntu0.4+esm1
nodejs
Ubuntu:Pro:14.04:LTS
before 0.10.25~dfsg2-2ubuntu1.2+esm1, plus listed versions
0.10.15~dfsg1-40.10.21~dfsg1-10.10.22~dfsg1-20.10.23~dfsg1-10.10.23~dfsg1-2
Show 5 moreShow less
0.10.23~dfsg1-30.10.24~dfsg1-10.10.25~dfsg2-20.10.25~dfsg2-2ubuntu10.10.25~dfsg2-2ubuntu1.2
0.10.25~dfsg2-2ubuntu1.2+esm1
nodejs
Ubuntu:Pro:16.04:LTS
before 4.2.6~dfsg-1ubuntu4.2+esm1, plus listed versions
0.10.25~dfsg2-2ubuntu14.2.2~dfsg-14.2.3~dfsg-14.2.4~dfsg-1ubuntu14.2.4~dfsg-2
Show 4 moreShow less
4.2.6~dfsg-1ubuntu14.2.6~dfsg-1ubuntu44.2.6~dfsg-1ubuntu4.14.2.6~dfsg-1ubuntu4.2
4.2.6~dfsg-1ubuntu4.2+esm1

History

History
WhenChangedSources
2026-11-03affected
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 95 references. The JSON record has them.

MoveEnter Open