Skip to content
OpenAdvisories
Medium ALAS2-2019-1309 2 CVEs

Moderate: golang security update (Amazon Linux 2)

Published Oct 8, 2019 · Updated Aug 7, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2019-16276: It was discovered that net/http (through net/textproto) in golang does not correctly interpret HTTP requests where an HTTP header contains spaces before the colon. This could be abused by an attacker to smuggle HTTP requests when a proxy or a firewall is placed behind a server implemented in Go or to filter bypasses depending on the specific network configuration. CVE-2019-14809: 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.

Fixed packages 6

ReleasePackageFixed in
Amazon Linux · 2 golang 0:1.9.4-3.amzn2.0.3
Amazon Linux · 2 golang-bin 0:1.9.4-3.amzn2.0.3
Amazon Linux · 2 golang-docs 0:1.9.4-3.amzn2.0.3
Amazon Linux · 2 golang-misc 0:1.9.4-3.amzn2.0.3
Amazon Linux · 2 golang-src 0:1.9.4-3.amzn2.0.3
Amazon Linux · 2 golang-tests 0:1.9.4-3.amzn2.0.3

Vulnerabilities 2

  • Unscored —

    Incorrect parsing validation in net/url

    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 no…

  • Unscored —

    Request smuggling due to accepting invalid headers in net/http via net/textproto

    Go before 1.12.10 and 1.13.x before 1.13.1 allow HTTP Request Smuggling.

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-14809.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2019-16276.html