Bug 1743129 (CVE-2019-14809)
Summary: | CVE-2019-14809 golang: malformed hosts in URLs leads to authorization bypass | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Dhananjay Arunesh <darunesh> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | admiller, amurdaca, asm, bodavis, dbecker, deparker, emachado, jcajka, jjoyce, jpadman, jschluet, kbasil, law, lemenkov, lhh, lpeer, mburns, mnewsome, puebele, renich, sclewis, sisharma, slinaber, tstellar, vbatts |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | go 1.12.8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-06 00:53:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1743130, 1743131, 1746231, 1746232, 1746233, 1750551, 1750552, 1750553 | ||
Bug Blocks: | 1743132 |
Description
Dhananjay Arunesh
2019-08-19 07:37:48 UTC
Created golang tracking bugs for this issue: Affects: epel-all [bug 1743130] Affects: fedora-all [bug 1743131] The Go language has an utility which can be used to parse host name strings. The utility can be accessed by calling url.Parse(url) call and returns an object of type URL. This object has two different methods called Hostname() and Port(), those calls returns the hostname itself and the port number from the parsed url string. When url string is malformed the behavior of both calls above are unpredictable sometimes returning unexpected hostname values. An attacker can leverage this bug by crafting specially formatted invalid URL as input to url.Parse(), this will lead url.Hostname() calls to return a host name controlled by the attacker allowing authorization bypass and other consequences depending on how those calls are used. Statement: This flaw has no mitigation for any affected golang package versions. External References: https://github.com/golang/go/commit/61bb56ad63992a3199acc55b2537c8355ef887b6 https://github.com/golang/go/issues/29098 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2019:3433 https://access.redhat.com/errata/RHSA-2019:3433 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-14809 |