CVE-2019-14809
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.
How to fix
- golang go1.11.13, 1.12.8 or later
- stdlib1.11.13, 1.12.8 or later
- debian.org/security/2019/dsa-4503
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYO6E3H34C346D2E443GLXK7OK6KIYIQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4BBP27PZGSY6OP6D26E5FW4GZKBFHNU7/
- access.redhat.com/errata/RHSA-2019:3433
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.11.13, 1.12.0 ≤ v < 1.12.8 | 1.11.13, 1.12.8 |
| debian debian_linux | 10.0 | — |
| stdlibGo | v < 1.11.13, 1.12.0-0 ≤ v < 1.12.8 | 1.11.13, 1.12.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.