CVE-2019-14809 Affecting golang-misc package, versions <0:1.12.8-1.51.amzn1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN201803-GOLANGMISC-1718837
- published 27 Sep 2021
- disclosed 13 Aug 2019
Introduced: 13 Aug 2019
CVE-2019-14809 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2018.03 golang-misc to version 0:1.12.8-1.51.amzn1 or higher.
This issue was patched in ALAS-2019-1270.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang-misc package and not the golang-misc package as distributed by Amazon-Linux.
See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.
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.
References
- https://seclists.org/bugtraq/2019/Aug/31
- https://github.com/golang/go/issues/29098
- https://groups.google.com/forum/#!topic/golang-announce/65QixT3tcmg
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14809
- https://www.debian.org/security/2019/dsa-4503
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4BBP27PZGSY6OP6D26E5FW4GZKBFHNU7/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYO6E3H34C346D2E443GLXK7OK6KIYIQ/
- https://groups.google.com/forum/#!topic/golang-announce/0uuMm1BwpHE
- https://access.redhat.com/errata/RHSA-2019:3433
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00076.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00038.html
- https://groups.google.com/forum/#%21topic/golang-announce/0uuMm1BwpHE
- https://groups.google.com/forum/#%21topic/golang-announce/65QixT3tcmg
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4BBP27PZGSY6OP6D26E5FW4GZKBFHNU7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYO6E3H34C346D2E443GLXK7OK6KIYIQ/