CVE-2019-14809Golang Go
Critical 9.8 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 8.4% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Aug 13, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.11.13 |
1.11.13 |
go get stdlib@v1.11.13 |
| Go | stdlib |
≥ 1.12.0-0 < 1.12.8 |
1.12.8 |
go get stdlib@v1.12.8 |
Per OSV / GitHub Advisories (GO-2022-0211). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.11.13 |
| golang | go | ≥ 1.12.0 < 1.12.8 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- access.redhat.com
- github.com Exploit Patch Third Party Advisory
- groups.google.com
- groups.google.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- seclists.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory