Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2019-14809

golang: malformed hosts in URLs leads to authorization bypass

Overview

Published
13 Aug 2019
Modified
17 Jun 2026
Critical CVE
1 Registry packages
30 OS packages
6 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages · 1

Packages affected by CVE-2019-14809
EcosystemPackageVulnerableFixed in
Go stdlib <1.11.13>=1.12.0-0, <1.12.8 1.11.131.12.8

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

Oracle Linux 1 release · 2 packages

fixed 2
go-toolset golang
Oracle Linux fixes for CVE-2019-14809
ReleasePackageFixed in
8 go-toolset 1.12.8-1.module+el8.1.0+5435+cbe0acb5
8 golang +6 1.12.8-2.0.1.module+el8.1.0+5435+cbe0acb5

Red Hat 3 releases · 3 packages

affected 1 eol 1 wont fix 1 fixed 3
golang go-toolset-1-12 go-toolset
Red Hat fixes for CVE-2019-14809
ReleasePackageFixed inAdvisory
golang +5 affected —
7 golang +2 eol —
7 golang +5 wont fix —
7 go-toolset-1-12 +9 0:1.12.8-2.el7 RHEA-2019:4179
8 (go-toolset:rhel8) go-toolset 0:1.12.8-1.module+el8.1.0+4089+be929cf8 RHSA-2019:3433
8 (go-toolset:rhel8) golang +6 0:1.12.8-2.module+el8.1.0+4089+be929cf8 RHSA-2019:3433

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2019-14809
ReleasePackageFixed in
3.22 go 1.12.8-r0
3.23 go 1.12.8-r0
3.24 go 1.12.8-r0
edge go 1.12.8-r0

debian 2 releases · 2 packages

fixed 1 affected 1
golang-1-11 golang-1-7
debian fixes for CVE-2019-14809
ReleasePackageFixed in
10 golang-1-11 1.11.6-1+deb10u1
9 golang-1-7 +1 affected

openSUSE 1 release · 2 packages

fixed 2
go1-11 go1-12
openSUSE fixes for CVE-2019-14809
ReleasePackageFixed inAdvisory
Tumbleweed go1-11 +2 1.11.13-10.5 openSUSE-SU-2024:10804-1
Tumbleweed go1-12 +2 1.12.17-4.8 openSUSE-SU-2024:10805-1

ubuntu 1 release · 1 package

affected 1
golang-1-10
ubuntu fixes for CVE-2019-14809
ReleasePackageFixed in
18.04-ESM golang-1-10 +2 affected

References

Show all 28 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.