CVE-2019-14809: Critical severity Golang Go vulnerability

Published Aug 13, 2019
·
Updated

A vulnerability was found in 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.

Reference: https://github.com/golang/go/issues/29098

Upstream commit: https://github.com/golang/go/commit/61bb56ad63992a3199acc55b2537c8355ef887b6

Affected Software

5 affected componentsFixes available
debian/golang-1.11
1.11.6-1+deb10u41.11.6-1+deb10u7
redhat/go<1.12.8
1.12.8
Golang Go<1.11.13
Golang Go>=1.12.0<1.12.8
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/golang-1.11 to a version that resolves this vulnerability.

    Fixed in 1.11.6-1+deb10u4Fixed in 1.11.6-1+deb10u7
  2. Upgrade

    Upgrade redhat/go to a version that resolves this vulnerability.

    Fixed in 1.12.8
  3. Upgrade

    Upgrade golang/go (net/url) to a version that resolves this vulnerability.

    Fixed in 1.11.13
  4. Upgrade

    Upgrade golang/go (net/url) to a version that resolves this vulnerability.

    Fixed in 1.12.8

Event History

Aug 13, 2019
CVE Published
via MITRE·08:54 PM
Data Sourced
via MITRE·08:54 PM
Description
Aug 19, 2019
Data Sourced
via Red Hat·07:37 AM
DescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·03:50 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2019-14809?

CVE-2019-14809 has been categorized with a severity rating that indicates it could lead to an authorization bypass in certain applications.

2

How do I fix CVE-2019-14809?

To fix CVE-2019-14809, you should upgrade to Go version 1.11.13, 1.12.8, or later.

3

Which versions of Go are affected by CVE-2019-14809?

CVE-2019-14809 affects Go versions prior to 1.11.13 and 1.12.x before 1.12.8.

4

What applications are at risk due to CVE-2019-14809?

Applications utilizing the net/url package in vulnerable versions of Go may be at risk of authorization bypass due to malformed hosts in URLs.

5

Is CVE-2019-14809 a remote attack vulnerability?

CVE-2019-14809 can potentially be exploited in scenarios where an attacker can manipulate URL inputs to bypass authorization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203