CVE-2018-12123 json
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 No…
published 7y ago modified last mo. also EUVD-2018-4101
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nodejs node.js 6.15.0, 8.14.0, 10.14.0, 11.3.0
- nodejs Debian 14, Debian 13, Debian 12 10.15.0~dfsg-6
debian advisories DEBIAN-CVE-2018-12123
- nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm1
ubuntu advisories UBUNTU-CVE-2018-12123
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-nodejs10-nodejs RHEL 3 SOFTWARE_COLLECTIONS 10.16.3-3.el7
- rh-nodejs10 RHEL 3 SOFTWARE_COLLECTIONS 3.2-3.el7
- rh-nodejs10-npm RHEL 3 SOFTWARE_COLLECTIONS 6.9.0-10.16.3.3.el7
- rh-nodejs10-runtime RHEL 3 SOFTWARE_COLLECTIONS 3.2-3.el7
- rh-nodejs10-scldevel RHEL 3 SOFTWARE_COLLECTIONS 3.2-3.el7
- rh-nodejs8-nodejs RHEL 3 SOFTWARE_COLLECTIONS 8.16.0-1.el7
- rh-nodejs8-npm RHEL 3 SOFTWARE_COLLECTIONS 6.4.1-8.16.0.1.el7
red hat advisories RHSA-2019:2939RHSA-2019:1821
- nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud Crowbar 8, OpenStack Cloud 7 +1 more 6.16.0-11.21.1
- nodejs8 SLE Module for Web and Scripting 15 8.15.0-3.11.1
- nodejs4 SLE Module for Web and Scripting 12, Enterprise Storage 4 4.9.1-15.17.1
- firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
- mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
- firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3
- mozilla-nspr SLES 11 SP4-LTSS 4.21-29.6.1
- firefox-cairo SLES 11 SP4-LTSS 1.15.10-2.13.4
suse advisories SUSE-SU-2019:14246-1SUSE-SU-2019:0395-1SUSE-SU-2019:0118-1SUSE-SU-2019:0117-1
- nodejs8 openSUSE Leap 15.0 8.15.0-lp150.2.9.1
opensuse advisories openSUSE-SU-2019:0089-1
- nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 10.14.0-r0
- nodejs Alpine 3.8 8.14.0-r0
- nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 11.3.0-r0
alpine advisories ALPINE-CVE-2018-12123
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-12123 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-12123 updated cvss 5.3
nodejs: Hostname spoofing in URL parser for javascript protocol
-
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 nodejsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.6 nodejsaffected: no fix available “Fix deferred”
-
Red Hat OpenShift Container Platform 3.7 nodejsaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 3.9 nodejs Red Hat OpenShift Container Platform 3.10 nodejsaffected: no fix available “Fix deferred”
-
Red Hat Software Collections rh-nodejs4-nodejs, rh-nodejs6-nodejsaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs10 3.2-3.el7, rh-nodejs10-runtime 3.2-3.el7, rh-nodejs10-scldevel 3.2-3.el7, rh-nodejs8-nodejs 8.16.0-1.el7, rh-nodejs10-nodejs 10.16.3-3.el7, rh-nodejs8-npm 6.4.1-8.16.0.1.el7, +1 morefixed: vendor fix RHSA-2019:2939
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-nodejs8-nodejs 8.16.0-1.el7, rh-nodejs8-npm 6.4.1-8.16.0.1.el7fixed: vendor fix RHSA-2019:1821
-
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-nodejs10 3.2-3.el7, rh-nodejs10-runtime 3.2-3.el7, rh-nodejs10-scldevel 3.2-3.el7, rh-nodejs8-nodejs 8.16.0-1.el7, rh-nodejs10-nodejs 10.16.3-3.el7, rh-nodejs8-npm 6.4.1-8.16.0.1.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs10 3.2-3.el7, rh-nodejs10-runtime 3.2-3.el7, rh-nodejs10-scldevel 3.2-3.el7, rh-nodejs8-nodejs 8.16.0-1.el7, rh-nodejs10-nodejs 10.16.3-3.el7, rh-nodejs8-npm 6.4.1-8.16.0.1.el7, +1 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs10 3.2-3.el7, rh-nodejs10-runtime 3.2-3.el7, rh-nodejs10-scldevel 3.2-3.el7, rh-nodejs10-nodejs 10.16.3-3.el7, rh-nodejs10-npm 6.9.0-10.16.3.3.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs10 3.2-3.el7, rh-nodejs10-runtime 3.2-3.el7, rh-nodejs10-scldevel 3.2-3.el7, rh-nodejs8-nodejs 8.16.0-1.el7, rh-nodejs10-nodejs 10.16.3-3.el7, rh-nodejs8-npm 6.4.1-8.16.0.1.el7, +1 morefixed: vendor fix RHSA-2019:2939
show 1 moreshow fewer
-
Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat OpenShift Application Runtimes 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
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
4.03% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
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
-
access.redhat.com
/errata/RHSA-2019:1821
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202003-48
vendor-advisory, third-party-advisory
- security.netapp.com /advisory/ntap-20241213-0008/
Sources
- CVE List CVE-2018-12123
- NVD CVE-2018-12123
Fencer Intel 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.