Input validation error in Go programming language - CVE-2019-14809
Published: August 19, 2019
Vulnerability identifier: #VU20301
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-14809
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to bypass certain security restrictions.
The vulnerability exists due to incorrect processing of URLs in net/url, related to the Host field with a suffix appearing in neither Hostname() nor Port(), and is related to a non-numeric port number. A remote attacker can create a crafted javascript:// URL that in certain situations can be used to bypass authorization checks for some applications.
Affected software
Go programming language
Arch Linux
Fedora
Red Hat Enterprise Linux for x86_64
Opensuse
Red Hat Developer Tools
golang-1.11 (Debian package)
go (Alpine package)
golang
go-toolset-1.12 (Red Hat package)
go-toolset-1.12-golang (Red Hat package)
Arch Linux
Fedora
Red Hat Enterprise Linux for x86_64
Opensuse
Red Hat Developer Tools
golang-1.11 (Debian package)
go (Alpine package)
golang
go-toolset-1.12 (Red Hat package)
go-toolset-1.12-golang (Red Hat package)
How to mitigate CVE-2019-14809
Install updates from vendor's website.
Go programming language - addressed in versions 1.11.13, 1.12.8
golang-1.11 (Debian package) - update to 1.11.6-1+deb10u1
go (Alpine package) - update to 1.12.8-r0
golang - addressed in versions 1.11.13-1.fc29, 1.12.9-1.fc30, 1.13-1.el6, 1.13-1.el7
go-toolset-1.12 (Red Hat package) - update to 1.12.8-2.el7
go-toolset-1.12-golang (Red Hat package) - update to 1.12.8-2.el7
golang-1.11 (Debian package) - update to 1.11.6-1+deb10u1
go (Alpine package) - update to 1.12.8-r0
golang - addressed in versions 1.11.13-1.fc29, 1.12.9-1.fc30, 1.13-1.el6, 1.13-1.el7
go-toolset-1.12 (Red Hat package) - update to 1.12.8-2.el7
go-toolset-1.12-golang (Red Hat package) - update to 1.12.8-2.el7
External References
Related Security Bulletins
- Security restrictions bypass in Google Go
- OpenSUSE Linux update for go1.12
- Arch Linux update for go
- Arch Linux update for go-pie
- OpenSUSE Linux update for go1.12
- Debian update for golang-1.11
- OpenSUSE Linux update for go1.11
- OpenSUSE Linux update for go1.12
- OpenSUSE Linux update for go1.12
- Red Hat update for go-toolset:rhel8
- Input validation error in go (Alpine package)
- Red Hat Developer Tools update for go-toolset
- Fedora 29 update for golang
- Fedora 30 update for golang
- Fedora EPEL 6 update for golang
- Fedora EPEL 7 update for golang