CVE-2019-14809
CRITICAL 9.8CVSS 3.0Incorrect parsing validation in net/url
net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applications. This is related to a Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. For example, an attacker can compose a crafted javascript:// URL that results in a hostname of google.com.
- Published
- 13 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GO-2022-0211
- Sources
- NVDJSONOSV GO-2022-0211JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.11.13 | 1.11.13 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.12.0, < 1.12.8 | 1.12.8 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | Go | stdlib | < 1.11.13; >= 1.12.0-0, < 1.12.8 | 1.11.13, 1.12.8 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00076.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00038.html
- https://access.redhat.com/errata/RHSA-2019:3433
- https://github.com/golang/go/issues/29098 · Exploit, Patch, Third Party Advisory
- https://groups.google.com/forum/#%21topic/golang-announce/0uuMm1BwpHE
- https://groups.google.com/forum/#%21topic/golang-announce/65QixT3tcmg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4BBP27PZGSY6OP6D26E5FW4GZKBFHNU7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYO6E3H34C346D2E443GLXK7OK6KIYIQ/
- https://seclists.org/bugtraq/2019/Aug/31 · Mailing List, Third Party Advisory
- https://www.debian.org/security/2019/dsa-4503 · Third Party Advisory
- https://go.dev/cl/189258 · FIX
- https://go.googlesource.com/go/+/61bb56ad63992a3199acc55b2537c8355ef887b6 · FIX
- https://go.dev/issue/29098 · REPORT
- https://groups.google.com/g/golang-announce/c/65QixT3tcmg · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 13 Aug 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)