Input validation error in Go programming language - CVE-2019-14809

 

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)

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

External References

Related Security Bulletins