What’s Vulnerable › Vulnerabilities
CVE-2018-12120
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-11-28 · updated 2026-10-08
- Weakness: CWE-419
Description
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.
Affected products
- Node.js: from 6.0.0 before 6.15.0 — fixed in 6.15.0
How to fix
Upgrade to a fixed version: Node.js 6.15.0. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/106040
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
- http://www.securityfocus.com/bid/106040
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
Get alerted when CVE-2018-12120 or the next vulnerability affects your stack