nodejs: Debugger port 5858 listens on any interface by default
Published Nov 28, 2018
8.1
HIGHCVSS 3.1
EPSS 4.28%
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
-
- Version All versions prior to Node.js 6.15.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| The Node.js Project | Node.js | n/a |
|
No data.
Red Hat Enterprise Linux 8
nodejs
Not affected
Red Hat OpenShift Application Runtimes
nodejs
Not affected
Red Hat OpenShift Container Platform 3.10
nodejs
Fix deferred
Red Hat OpenShift Container Platform 3.2
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.3
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.4
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.5
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.6
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.7
nodejs
Out of support scope
Red Hat OpenShift Container Platform 3.9
nodejs
Fix deferred
Red Hat Software Collections
rh-nodejs10-nodejs
Not affected
Red Hat Software Collections
rh-nodejs4-nodejs
Will not fix
Red Hat Software Collections
rh-nodejs6-nodejs
Will not fix
Red Hat Software Collections
rh-nodejs8-nodejs
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | nodejs | Not affected | n/a |
| Red Hat OpenShift Application Runtimes | nodejs | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.10 | nodejs | Fix deferred | n/a |
| Red Hat OpenShift Container Platform 3.2 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.3 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.4 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.5 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.6 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.7 | nodejs | Out of support scope | n/a |
| Red Hat OpenShift Container Platform 3.9 | nodejs | Fix deferred | n/a |
| Red Hat Software Collections | rh-nodejs10-nodejs | Not affected | n/a |
| Red Hat Software Collections | rh-nodejs4-nodejs | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs8-nodejs | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The nodejs RPMs shipped in Red Hat OpenShift Container Platform (OCP) versions 3.6 through 3.10 are vulnerable to this flaw because they contain the affected code. Later versions of OCP used nodejs RPMs delivered from Red Hat Software Collections and Red Hat Enterprise Linux channels.
Red Hat mitigation
* 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
References (6)
- http://www.securityfocus.com/bid/106040 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-12120 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1661016 Issue Tracking
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/ x_refsource_CONFIRMPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-12120
- https://www.cve.org/CVERecord?id=CVE-2018-12120
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/106040 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2018-12120 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1661016 | Issue Tracking | |
| https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/ | x_refsource_CONFIRMPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-12120 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-12120 |
Change history (0)
No recorded changes yet.