
CVE catalog
CVE-2018-12123
nodejs: CVE-2018-12123
- Severity
- Medium · CVSS 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.03% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | nodejs | sid | 24.22.1+dfsg+~cs24.19.2-1 | fixed |
| Debian | nodejs | forky | 24.21.0+dfsg+~cs24.13.4-1 | fixed |
| Debian | nodejs | trixie | 20.19.2+dfsg-1+deb13u2 | fixed |
| Debian | nodejs | trixie-security | 20.19.2+dfsg-1+deb13u3 | fixed |
| Debian | nodejs | bookworm | 18.20.4+dfsg-1~deb12u2 | fixed |
| Debian | nodejs | bookworm-security | 18.20.4+dfsg-1~deb12u3 | fixed |
| Cpe | node.js | Not reported | 11.3.0 | fixed |
| Alpine | nodejs | 3.10 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.11 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.12 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.13 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.14 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.15 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.16 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.17 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.18 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.19 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.20 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.21 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.22 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.23 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.24 | 10.14.0-r0 | fixed |
| Alpine | nodejs | 3.8 | 8.14.0-r0 | fixed |
| Alpine | nodejs | 3.9 | 10.14.0-r0 | fixed |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.11.4~dfsg-1ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-1ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu1 | vulnerable |
| Ubuntu | nodejs | pro | 6.12.0~dfsg-2ubuntu2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.2 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.3 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4 | vulnerable |
| Ubuntu | nodejs | pro | 8.10.0~dfsg-2ubuntu0.4+esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | nodejs | source | sid | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | forky | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | trixie | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Debian | nodejs | source | bookworm | 10.15.0~dfsg-6 | unimportant | Not reported | Not reported |
| Cpe | node.js | cpe | Not reported | 11.3.0 | Not reported | NVD-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.10 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.11 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.12 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.13 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.14 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.15 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.16 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.17 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.18 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.19 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.20 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.21 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.22 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.23 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.24 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.8 | 8.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Alpine | nodejs | apk | 3.9 | 10.14.0-r0 | Not reported | ALPINE-CVE-2018-12123 | Not reported |
| Ubuntu | nodejs | deb | pro | 8.10.0~dfsg-2ubuntu0.4+esm1 | Not reported | UBUNTU-CVE-2018-12123 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libnode108]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [libnode-dev]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs]Unknown
Details (4)
18.20.4+dfsg-1~deb12u2· amd64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· amd64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· arm64 · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (4)
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
18.20.4+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12
[Debian 13 (Trixie)]
- [libnode115]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
- [libnode-dev]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
- [nodejs]Unknown
Details (5)
20.19.2+dfsg-1+deb13u2· amd64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· amd64 · trixie-security · Historical versionFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· arm64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· amd64 · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
- [nodejs-doc]Unknown
Source package: [nodejs]
Details (5)
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixieFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u2· all · trixie-security · Historical versionFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
20.19.2+dfsg-1+deb13u3· all · trixie-securityFixed · Fixed:
10.15.0~dfsg-6dsa · nodejs · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_0117-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2018-12123]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-12123]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-12123]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-12123]
- [https://security-tracker.debian.org/tracker/CVE-2018-12123]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-12123.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2019/wid-sec-w-2023-2535.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]