CVE-2019-14809
published 2019-08-13CVE-2019-14809: 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…
PriorityP358critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
8.36%
94.3th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| golang | go | < 1.11.13 | 1.11.13 |
| golang | go | >= 1.12.0 < 1.12.8 | 1.12.8 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
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.
OSV
Incorrect parsing validation in net/url
osv·2022-07-01
CVE-2019-14809 Incorrect parsing validation in net/url
Incorrect parsing validation in net/url
The url.Parse function accepts URLs with malformed hosts, such that the Host field can have arbitrary suffixes that appear in neither Hostname() nor Port(), allowing authorization bypasses in certain applications.
GHSA
GHSA-2xf8-4fv6-m993: net/url in Go before 1
ghsa_unreviewed·2022-05-24
CVE-2019-14809 [CRITICAL] GHSA-2xf8-4fv6-m993: net/url in Go before 1
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.
OSV
CVE-2019-14809: net/url in Go before 1
osv·2019-08-13·CVSS 9.8
CVE-2019-14809 [CRITICAL] CVE-2019-14809: net/url in Go before 1
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.
Red Hat
golang: malformed hosts in URLs leads to authorization bypass
vendor_redhat·2019-08-13·CVSS 9.8
CVE-2019-14809 [CRITICAL] CWE-939 golang: malformed hosts in URLs leads to authorization bypass
golang: malformed hosts in URLs leads to authorization bypass
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.
Mitigation: This flaw has no mitigation for any affected golang package versions.
Package: golang (Red Hat Ceph Storage 2) - Will not fix
Package: golang (Red Hat Ceph Storage 3) - Will not fix
Package: golang (Red Hat Enterprise Linux 7) - Will not fix
Package: golang (Red Hat OpenStack Platform 9 (Mitaka) Operational Tools) - Out of suppor
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass
bugzilla·2019-08-19·CVSS 9.8
CVE-2019-14809 [CRITICAL] CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass
A vulnerability was found in 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.
Reference:
https://github.com/golang/go/issues/29098
Upstream commit:
https://github.com/golang/go/commit/61bb56ad63992a3199acc55b2537c8355ef887b6
Discussion:
Created golang tracking bugs for this issue:
Affects: epel-all [bug 1743130]
Affects: fedora-all [bug 1743131]
---
The Go language has an
Bugzilla
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [fedora-all]
bugzilla·2019-08-19·CVSS 9.8
CVE-2019-14809 [CRITICAL] CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [fedora-all]
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [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 suppor
Bugzilla
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [epel-all]
bugzilla·2019-08-19·CVSS 9.8
CVE-2019-14809 [CRITICAL] CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [epel-all]
CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass [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 supported
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00076.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00011.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00038.htmlhttps://access.redhat.com/errata/RHSA-2019:3433https://github.com/golang/go/issues/29098https://groups.google.com/forum/#%21topic/golang-announce/0uuMm1BwpHEhttps://groups.google.com/forum/#%21topic/golang-announce/65QixT3tcmghttps://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/31https://www.debian.org/security/2019/dsa-4503http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00076.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00011.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-09/msg00038.htmlhttps://access.redhat.com/errata/RHSA-2019:3433https://github.com/golang/go/issues/29098https://groups.google.com/forum/#%21topic/golang-announce/0uuMm1BwpHEhttps://groups.google.com/forum/#%21topic/golang-announce/65QixT3tcmghttps://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/31https://www.debian.org/security/2019/dsa-4503
2019-08-13
Published