nodejs: Hostname spoofing in URL parser for javascript protocol
Published Nov 28, 2018
4.3
MEDIUMCVSS 3.1
EPSS 4.05%
Description
Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostname spoofing in URL parser for javascript protocol: If a Node.js application is using url.parse() to determine the URL hostname, that hostname can be spoofed by using a mixed case "javascript:" (e.g. "javAscript:") protocol (other protocols are not affected). If security decisions are made about the URL based on the hostname, they may be incorrect.
Affected products
-
- Version All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.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 Software Collections for Red Hat Enterprise Linux 7
rh-nodejs10-0:3.2-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-nodejs10-nodejs-0:10.16.3-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-nodejs8-nodejs-0:8.16.0-1.el7
Fixed · RHSA-2019:1821
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-nodejs8-nodejs-0:8.16.0-1.el7
Fixed · RHSA-2019:1821
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-nodejs10-0:3.2-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-nodejs10-nodejs-0:10.16.3-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-nodejs8-nodejs-0:8.16.0-1.el7
Fixed · RHSA-2019:1821
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-nodejs10-0:3.2-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-nodejs10-nodejs-0:10.16.3-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-nodejs8-nodejs-0:8.16.0-1.el7
Fixed · RHSA-2019:1821
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-nodejs10-0:3.2-3.el7
Fixed · RHSA-2019:2939
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-nodejs10-nodejs-0:10.16.3-3.el7
Fixed · RHSA-2019:2939
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
Fix deferred
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-nodejs4-nodejs
Will not fix
Red Hat Software Collections
rh-nodejs6-nodejs
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs10-0:3.2-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs10-nodejs-0:10.16.3-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-nodejs8-nodejs-0:8.16.0-1.el7 | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-nodejs8-nodejs-0:8.16.0-1.el7 | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-nodejs10-0:3.2-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-nodejs10-nodejs-0:10.16.3-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-nodejs8-nodejs-0:8.16.0-1.el7 | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-nodejs10-0:3.2-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-nodejs10-nodejs-0:10.16.3-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-nodejs8-nodejs-0:8.16.0-1.el7 | Fixed | RHSA-2019:1821 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-nodejs10-0:3.2-3.el7 | Fixed | RHSA-2019:2939 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-nodejs10-nodejs-0:10.16.3-3.el7 | Fixed | RHSA-2019:2939 |
| 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 | Fix deferred | 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-nodejs4-nodejs | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs | Will not fix | 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.
References (8)
- https://access.redhat.com/errata/RHSA-2019:1821 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-12123 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1661010 Issue Tracking
- https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/ x_refsource_CONFIRMPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-12123
- https://security.gentoo.org/glsa/202003-48 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20241213-0008/
- https://www.cve.org/CVERecord?id=CVE-2018-12123
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:1821 | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2018-12123 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1661010 | Issue Tracking | |
| https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/ | x_refsource_CONFIRMPatchVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-12123 | ||
| https://security.gentoo.org/glsa/202003-48 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://security.netapp.com/advisory/ntap-20241213-0008/ | ||
| https://www.cve.org/CVERecord?id=CVE-2018-12123 |
Change history (0)
No recorded changes yet.