CVE-2018-12123
published 2018-11-28CVE-2018-12123: 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…
PriorityP423medium4.3CVSS 3.1
AVNACLPRNUIRSUCNILAN
EPSS
4.05%
89.6th percentile
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
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | nodejs | < nodejs 10.15.0~dfsg-6 (bookworm) | nodejs 10.15.0~dfsg-6 (bookworm) |
| msrc | cm1_nodejs_14.17.2-1_on_cbl_mariner_1.0 | — | — |
| nodejs | node.js | >= 10.0.0 < 10.14.0 | 10.14.0 |
| nodejs | node.js | >= 11.0.0 < 11.3.0 | 11.3.0 |
| nodejs | node.js | >= 6.0.0 < 6.15.0 | 6.15.0 |
| nodejs | node.js | >= 8.0.0 < 8.14.0 | 8.14.0 |
| nodejs | nodejs | >= 0 < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| nodejs | nodejs | >= 0 < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| nodejs | nodejs | >= 0 < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| nodejs | nodejs | >= 0 < 10.15.0~dfsg-6 | 10.15.0~dfsg-6 |
| nodejs | nodejs | >= 0 < 0.10.25~dfsg2-2ubuntu1.2+esm1 | 0.10.25~dfsg2-2ubuntu1.2+esm1 |
| nodejs | nodejs | >= 0 < 4.2.6~dfsg-1ubuntu4.2+esm1 | 4.2.6~dfsg-1ubuntu4.2+esm1 |
| nodejs | nodejs | >= 0 < 8.10.0~dfsg-2ubuntu0.4+esm1 | 8.10.0~dfsg-2ubuntu0.4+esm1 |
| the_node.js_project | node.js | — | — |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv5.9MEDIUM
vendor_ubuntu5.9MEDIUM
vendor_debian4.3LOW
vendor_msrc4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Node.js vulnerabilities
vendor_ubuntu·2021-03-15·CVSS 5.9
CVE-2018-7160 [MEDIUM] Node.js vulnerabilities
Title: Node.js vulnerabilities
Summary: Several security issues were fixed in Node.js.
Alexander Minozhenko and James Bunton discovered that Node.js did not
properly handle wildcards in name fields of X.509 TLS certificates. An
attacker could use this vulnerability to execute a machine-in-the-middle-
attack. This issue only affected Ubuntu 14.04 ESM and 16.04 ESM. (CVE-2016-7099)
It was discovered that Node.js incorrectly handled certain NAPTR responses.
A remote attacker could possibly use this issue to cause applications using
Node.js to crash, resulting in a denial of service. This issue only affected
Ubuntu 16.04 ESM. (CVE-2017-1000381)
Nikita Skovoroda discovered that Node.js mishandled certain input, leading
to an out of bounds write. An attacker could use this vulnerability to
c
Red Hat
nodejs: Hostname spoofing in URL parser for javascript protocol
vendor_redhat·2018-11-27·CVSS 4.3
CVE-2018-12123 [MEDIUM] CWE-20 nodejs: Hostname spoofing in URL parser for javascript protocol
nodejs: Hostname spoofing in URL parser for javascript protocol
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.
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.
Packa
Microsoft
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 hos
vendor_msrc·2018-11-13·CVSS 4.3
CVE-2018-12123 [MEDIUM] CWE-20 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 hos
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is co
Debian
CVE-2018-12123: nodejs - Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostn...
vendor_debian·2018·CVSS 4.3
CVE-2018-12123 [MEDIUM] CVE-2018-12123: nodejs - Node.js: All versions prior to Node.js 6.15.0, 8.14.0, 10.14.0 and 11.3.0: Hostn...
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.
Scope: local
bookworm: resolved (fixed in 10.15.0~dfsg-6)
bullseye: resolved (fixed in 10.15.0~dfsg-6)
forky: resolved (fixed in 10.15.0~dfsg-6)
sid: resolved (fixed in 10.15.0~dfsg-6)
trixie: resolved (fixed in 10.15.0~dfsg-6)
GHSA
GHSA-f6m9-hpfw-xjw4: Node
ghsa_unreviewed·2022-05-13
CVE-2018-12123 [MEDIUM] CWE-115 GHSA-f6m9-hpfw-xjw4: Node
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.
OSV
nodejs vulnerabilities
osv·2021-03-15·CVSS 5.9
CVE-2016-7099 [MEDIUM] nodejs vulnerabilities
nodejs vulnerabilities
Alexander Minozhenko and James Bunton discovered that Node.js did not
properly handle wildcards in name fields of X.509 TLS certificates. An
attacker could use this vulnerability to execute a machine-in-the-middle-
attack. This issue only affected Ubuntu 14.04 ESM and 16.04 ESM. (CVE-2016-7099)
It was discovered that Node.js incorrectly handled certain NAPTR responses.
A remote attacker could possibly use this issue to cause applications using
Node.js to crash, resulting in a denial of service. This issue only affected
Ubuntu 16.04 ESM. (CVE-2017-1000381)
Nikita Skovoroda discovered that Node.js mishandled certain input, leading
to an out of bounds write. An attacker could use this vulnerability to
cause a denial of service (crash) or possibly execute arbitrary co
OSV
CVE-2018-12123: Node
osv·2018-11-28·CVSS 4.3
CVE-2018-12123 [MEDIUM] CVE-2018-12123: Node
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol
bugzilla·2018-12-19·CVSS 4.3
CVE-2018-12123 [MEDIUM] CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol
A flaw was found in Node.js versions before 6.15.0, 8.14.0, 10.14.0 and 11.3.0. A 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.
References:
https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
Discussion:
Created nodejs tracking bugs for this issue:
Affects: epel-all [bug 1661012]
Affects: fedora-all [bug 1661011]
---
Upstream fix:
https://github.com/nodejs/node/commit/9c268d049
Bugzilla
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [fedora-all]
bugzilla·2018-12-19·CVSS 4.3
CVE-2018-12123 [MEDIUM] CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [fedora-all]
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
Bugzilla
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [epel-all]
bugzilla·2018-12-19·CVSS 4.3
CVE-2018-12123 [MEDIUM] CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [epel-all]
CVE-2018-12123 nodejs: Hostname spoofing in URL parser for javascript protocol [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supporte
https://access.redhat.com/errata/RHSA-2019:1821https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/https://security.gentoo.org/glsa/202003-48https://access.redhat.com/errata/RHSA-2019:1821https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/https://security.gentoo.org/glsa/202003-48https://security.netapp.com/advisory/ntap-20241213-0008/
2018-11-28
Published