Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DSA-4503-1 |
NVD severity | high |
Debian Bugs | 934954 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang-1.11 (PTS) | buster, buster (security) | 1.11.6-1+deb10u3 | fixed |
golang-1.7 (PTS) | stretch | 1.7.4-2+deb9u1 | vulnerable |
stretch (security) | 1.7.4-2+deb9u2 | vulnerable | |
golang-1.8 (PTS) | stretch | 1.8.1-1+deb9u1 | vulnerable |
stretch (security) | 1.8.1-1+deb9u2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang | source | (unstable) | (unfixed) | |||
golang-1.11 | source | buster | 1.11.6-1+deb10u1 | DSA-4503-1 | ||
golang-1.11 | source | (unstable) | 1.11.13-1 | |||
golang-1.12 | source | (unstable) | 1.12.8-1 | |||
golang-1.13 | source | (unstable) | 1.13~beta1-3 | 934954 | ||
golang-1.7 | source | (unstable) | (unfixed) | |||
golang-1.8 | source | (unstable) | (unfixed) |
[stretch] - golang-1.8 <ignored> (Minor issue)
[stretch] - golang-1.7 <ignored> (Minor issue)
[jessie] - golang <ignored> (Fix too invasive to backport, url.go file in jessie too far behind upstream)
Issue: https://github.com/golang/go/issues/29098
https://github.com/golang/go/commit/c1d9ca70995dc232a2145e3214f94e03409f6fcc (golang-1.11)
https://github.com/golang/go/commit/3226f2d492963d361af9dfc6714ef141ba606713 (golang-1.12)