CVE-2018-12120 json
Node.js: All versions prior to Node.js 6.15.0: Debugger port 5858 listens on any interface by default: When the debugger is enabled with `n…
published 2018-11-28 7 y ago modified 2026-10-08 31 d ago also EUVD-2018-4098
- cvss
- 8.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
Node.js: All versions prior to Node.js 6.15.0: Debugger port 5858 listens on any interface by default: When the debugger is enabled with `node --debug` or `node debug`, it listens to port 5858 on all interfaces by default. This may allow remote computers to attach to the debug port and evaluate arbitrary JavaScript. The default interface is now localhost. It has always been possible to start the debugger on a specific interface, such as `node --debug=localhost`. The debugger was removed in Node.js 8 and replaced with the inspector, so no versions from 8 and later are vulnerable.
Patch / fix
- nodejs node.js 6.15.0
- nodejs Debian 14, Debian 13, Debian 12 8.9.3~dfsg-5
debian advisories DEBIAN-CVE-2018-12120
- nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud Crowbar 8, OpenStack Cloud 7 +1 more 6.16.0-11.21.1
- nodejs4 SLE Module for Web and Scripting 12, Enterprise Storage 4 4.9.1-15.17.1
suse advisories SUSE-SU-2019:0395-1SUSE-SU-2019:0117-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-12120 updated cvss 7.3
nodejs: Debugger port 5858 listens on any interface by default
-
Red Hat OpenShift Container Platform 3.2 nodejs Red Hat OpenShift Container Platform 3.3 nodejs Red Hat OpenShift Container Platform 3.4 nodejs Red Hat OpenShift Container Platform 3.5 nodejs Red Hat OpenShift Container Platform 3.6 nodejs Red Hat OpenShift Container Platform 3.7 nodejsaffected: workaround, no fix planned “* On any version : Ensure the firewall prevents access to port 5858 on untrusted interfaces. * On nodejs 6 : To enforce the debug on a specific interface: $ node --debug=localhost”
-
Red Hat OpenShift Container Platform 3.9 nodejs Red Hat OpenShift Container Platform 3.10 nodejsaffected: workaround, no fix available “* On any version : Ensure the firewall prevents access to port 5858 on untrusted interfaces. * On nodejs 6 : To enforce the debug on a specific interface: $ node --debug=localhost”
-
Red Hat Software Collections rh-nodejs4-nodejs, rh-nodejs6-nodejsaffected: workaround, no fix planned “* On any version : Ensure the firewall prevents access to port 5858 on untrusted interfaces. * On nodejs 6 : To enforce the debug on a specific interface: $ node --debug=localhost”
-
Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat OpenShift Application Runtimes nodejs Red Hat Software Collections rh-nodejs8-npm, rh-nodejs10-npm, rh-nodejs8-nodejs, rh-nodejs10-nodejsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 31 d ago
Exploit prediction
4.28% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- The Node.js Project Node.js
Classification
- Weakness
- Technology feeds
References
-
nodejs.org
/en/blog/vulnerability/november-2018-security-releases/
patch, vendor-advisory
-
securityfocus.com
/bid/106040
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-12120
- NVD CVE-2018-12120
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.