{"id":"CVE-2018-12120","aliases":["DEBIAN-CVE-2018-12120","EUVD-2018-4098","GHSA-8fqw-43x4-4q75","MGASA-2019-0277","SUSE-SU-2019:0117-1","SUSE-SU-2019:0395-1","UBUNTU-CVE-2018-12120"],"status":"published","title":"Node.js: All versions prior to Node.js 6.15.0: Debugger port 5858 listens on any interface by...","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.04277,"percentile":0.91168,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-419","CWE-829"],"published":"2018-11-28T17:00:00Z","modified":"2026-10-24T10:30:17Z","fixes":[{"ecosystem":"Debian:12","package":"nodejs","fixed_in":["8.9.3~dfsg-5"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nodejs","fixed_in":["8.9.3~dfsg-5"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nodejs","fixed_in":["8.9.3~dfsg-5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.3~dfsg-5"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.3~dfsg-5"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.9.3~dfsg-5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"nodejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.17.1-8.mga6"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:6","package":"http-parser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.2-1.mga6"}]}],"bundled":13},{"source":"osv","ecosystem":"Mageia:6","package":"libuv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.16.1-1.mga6"}]}],"bundled":13},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","package":"nodejs4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.1-15.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"nodejs4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.1-15.17.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"nodejs6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.0-11.21.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud Crowbar 8","package":"nodejs6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.0-11.21.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","package":"nodejs6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.0-11.21.1"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"nodejs6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.0-11.21.1"}]}],"bundled":7}],"products":[{"vendor":"node.js","product":"node.js"},{"vendor":"nodejs","product":"node.js"},{"vendor":"the node.js project","product":"node.js"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","report"]},{"url":"http://www.securityfocus.com/bid/106040","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12120"},{"url":"https://nodejs.org/en/blog/vulnerability/november-2018-security-releases"},{"url":"https://github.com/advisories/GHSA-8fqw-43x4-4q75"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-12120","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0277.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21330","tags":["report"]},{"url":"https://nodejs.org/en/blog/release/v6.11.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.11.1/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.11.2/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.11.3/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.11.4/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.12.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.12.1/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.12.2/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.12.3/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.13.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.13.1/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.14.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.14.1/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.14.2/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.14.3/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.15.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.15.1/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.16.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.17.0/","tags":["web"]},{"url":"https://nodejs.org/en/blog/release/v6.17.1/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190117-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1113534","tags":["report"]},{"url":"https://bugzilla.suse.com/1113652","tags":["report"]},{"url":"https://bugzilla.suse.com/1117625","tags":["report"]},{"url":"https://bugzilla.suse.com/1117626","tags":["report"]},{"url":"https://bugzilla.suse.com/1117627","tags":["report"]},{"url":"https://bugzilla.suse.com/1117629","tags":["report"]},{"url":"https://bugzilla.suse.com/1117630","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2018-0734","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12116","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12120","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12121","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12122","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-12123","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5407","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20190395-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-12120","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12120","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-12120","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.","status":"published","published":"2018-11-28T17:00:00Z","modified":"2026-10-08T21:14:01.067Z","cwes":["CWE-419"],"updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-4098","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.","status":"published","published":"2018-11-28T17:00:00Z","modified":"2026-10-08T21:14:01Z","updated_at":"2026-11-02T17:27:26.452288Z"}],"ghsa":[{"id":"GHSA-8fqw-43x4-4q75","title":"Node.js: All versions prior to Node.js 6.15.0: Debugger port 5858 listens on any interface by...","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.","status":"published","published":"2022-05-13T01:34:48Z","modified":"2026-10-09T00:32:04Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-419","CWE-829"],"updated_at":"2026-11-02T15:12:59.31428Z"}],"nvd":[{"id":"CVE-2018-12120","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.","status":"published","published":"2018-11-28T17:29:00.29Z","modified":"2026-10-08T22:16:44.727Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-419","CWE-829"],"updated_at":"2026-11-02T14:04:48.987926Z"}],"osv":[{"id":"CVE-2018-12120","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.","status":"published","published":"2018-11-28T17:29:00.29Z","modified":"2026-10-24T10:30:17.5596649Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:07.934182Z"},{"id":"DEBIAN-CVE-2018-12120","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.","status":"published","published":"2018-11-28T17:29:00.29Z","modified":"2026-10-09T09:47:27.236493391Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.988046Z"},{"id":"UBUNTU-CVE-2018-12120","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.","status":"withdrawn","published":"2018-11-28T17:29:00Z","modified":"2025-07-16T08:13:45.13851Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:16.544091Z"},{"id":"MGASA-2019-0277","title":"Updated nodejs packages fix security vulnerabilities","description":"This update provides nodejs v6.17.1 fixing at least the following security\nissues:\n\nThe c-ares function ares_parse_naptr_reply(), which is used for parsing\nNAPTR responses, could be triggered to read memory outside of the given\ninput buffer (CVE-2017-1000381) \n\nFix for 'path' module regular expression denial of service (CVE-2018-7158)\n\nReject spaces in HTTP Content-Length header values (CVE-2018-7159)\n\nFix for inspector DNS rebinding vulnerability (CVE-2018-7160)\n\nbuffer: Fixes Denial of Service vulnerability where calling Buffer.fill()\ncould hang (CVE-2018-7167)\n\nbuffer: Fix out-of-bounds (OOB) write in Buffer.write() for UCS-2 encoding\n(CVE-2018-12115)\n\nNode.js: HTTP request splitting (CVE-2018-12116)\n\nNode.js: Debugger port 5858 listens on any interface by default\n(CVE-2018-12120)\n\nNode.js: Denial of Service with large HTTP headers (CVE-2018-12121)\n\nNode.js: Slowloris HTTP Denial of Service (CVE-2018-12122)\n\nNode.js: Hostname spoofing in URL parser for javascript protocol (CVE-2018-12123)\n\nNode.js: Slowloris HTTP Denial of Service with keep-alive (CVE-2019-5737)\n\nNode.js: Denial of Service with keep-alive HTTP connections (CVE-2019-5739)\n\nFor other fixes in this update, see the referenced release logs.\n","status":"published","published":"2019-09-15T13:24:16Z","modified":"2026-04-16T04:41:44.565194424Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"SUSE-SU-2019:0117-1","title":"Security update for nodejs4","description":"This update for nodejs4 fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-0734: Fixed a timing vulnerability in the DSA signature generation (bsc#1113652)\n- CVE-2018-5407: Fixed a hyperthread port content side channel attack (aka 'PortSmash') (bsc#1113534)\n- CVE-2018-12120: Fixed that the debugger listens on any interface by default (bsc#1117625)\n- CVE-2018-12121: Fixed a denial of Service with large HTTP headers (bsc#1117626)\n- CVE-2018-12122: Fixed the 'Slowloris' HTTP Denial of Service (bsc#1117627)\n- CVE-2018-12116: Fixed HTTP request splitting (bsc#1117630)\n- CVE-2018-12123: Fixed hostname spoofing in URL parser for javascript protocol (bsc#1117629)\n","status":"published","published":"2019-01-18T10:52:41Z","modified":"2026-02-04T03:59:52.923854Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"SUSE-SU-2019:0395-1","title":"Security update for nodejs6","description":"This update for nodejs6 to version 6.16.0 fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-0734: Fixed a timing vulnerability in the DSA signature generation (bsc#1113652)\n- CVE-2018-5407: Fixed a hyperthread port content side channel attack (aka 'PortSmash') (bsc#1113534)\n- CVE-2018-12120: Fixed that the debugger listens on any interface by default (bsc#1117625)\n- CVE-2018-12121: Fixed a denial of Service with large HTTP headers (bsc#1117626)\n- CVE-2018-12122: Fixed the 'Slowloris' HTTP Denial of Service (bsc#1117627)\n- CVE-2018-12116: Fixed HTTP request splitting (bsc#1117630)\n- CVE-2018-12123: Fixed hostname spoofing in URL parser for javascript protocol (bsc#1117629)\n","status":"published","published":"2019-02-14T13:59:06Z","modified":"2026-02-04T04:00:52.519267Z","updated_at":"2026-11-02T15:53:45.926331Z"}]}}
