CVE-2019-14809

golang: malformed hosts in URLs leads to authorization bypass

Published Aug 13, 2019 CVSS 3.0 · 9.8 Critical EPSS 8.4% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4503-1 golang-1.11 security update
EUVD EUVD EUVD-2019-5938 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.
History

No history.

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 12:26 AM
Reserved
Aug 10, 2019, 12:00 AM
Status
Modified
Published
Aug 13, 2019, 9:15 PM
Modified
Jun 17, 2026, 2:19 AM
Severity
Moderate
Public date
Aug 13, 2019, 12:00 AM