PT-2019-3438 · Go+4 · Go+4

Wir3Less

·

Published

2019-08-13

·

Updated

2024-06-15

·

CVE-2019-14809

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Go versions prior to 1.11.13 Go versions 1.12.x prior to 1.12.8
Description The issue is related to the net/url function in Go, which mishandles malformed hosts in URLs. This can lead to an authorization bypass in some applications. The vulnerability is associated with a Host field that has a suffix appearing in neither Hostname() nor Port(), and is also 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. The exploitation of this issue may allow a remote attacker to impact data integrity, gain unauthorized access to protected information, and cause a denial of service.
Recommendations For Go versions prior to 1.11.13, update to version 1.11.13 or later. For Go versions 1.12.x prior to 1.12.8, update to version 1.12.8 or later. As a temporary workaround, consider restricting the use of the url.Parse function to minimize the risk of exploitation. Avoid using URLs with malformed hosts in the affected applications until the issue is resolved.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-2494
ALT-PU-2019-2495
AZL-78948
BDU:2019-03595
CESA-2019_3433
CVE-2019-14809
DSA-4503-1
GO-2022-0211
MGASA-2019-0251
OPENSUSE-SU-2019:2000-1
OPENSUSE-SU-2019:2056-1
OPENSUSE-SU-2019:2072-1
OPENSUSE-SU-2019:2085-1
OPENSUSE-SU-2019:2130-1
OPENSUSE-SU-2019_2000-1
OPENSUSE-SU-2019_2056-1
OPENSUSE-SU-2019_2072-1
OPENSUSE-SU-2019_2085-1
OPENSUSE-SU-2019_2130-1
OPENSUSE-SU-2024:10804-1
OPENSUSE-SU-2024:10805-1
RHSA-2019:3433
RHSA-2019_3433
SUSE-SU-2019:2213-1
SUSE-SU-2019:2214-1
SUSE-SU-2019_2213-1
SUSE-SU-2019_2214-1

Affected Products

Alt Linux
Centos
Go
Red Hat
Suse