Skip to content
OpenAdvisories
Medium RLSA-2021:4156 4 CVEs

Moderate: go-toolset:rhel8 security, bug fix, and enhancement update

Published Nov 9, 2021 · Updated Feb 4, 2026

Summary

Go Toolset provides the Go programming language tools and libraries. Go is alternatively known as golang.

The following packages have been upgraded to a later upstream version: golang (1.16.7). (BZ#1938071)

Security Fix(es):

* golang: net: lookup functions may return invalid host names (CVE-2021-33195)

* golang: net/http/httputil: ReverseProxy forwards connection headers if first one is empty (CVE-2021-33197)

* golang: math/big.Rat: may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents (CVE-2021-33198)

* golang: net/http/httputil: panic due to racy read of persistConn after handler panic (CVE-2021-36221)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Fixed packages 3

ReleasePackageFixed in
Rocky Linux · 8 delve 0:1.6.0-1.module+el8.5.0+694+f77f0bfd
Rocky Linux · 8 go-toolset 0:1.16.7-1.module+el8.5.0+694+f77f0bfd
Rocky Linux · 8 golang 0:1.16.7-1.module+el8.5.0+694+f77f0bfd

Vulnerabilities 4

  • Unscored —

    Improper sanitization when resolving values from DNS in net

    Go before 1.15.13 and 1.16.x before 1.16.5 has functions for DNS lookups that do not validate replies from DNS servers, and thus a return value may contain an unsafe injection (e.g., XSS) that does not conform to the RFC1035 format.

  • Unscored —

    Attacker can drop certain headers in net/http/httputil

    In Go before 1.15.13 and 1.16.x before 1.16.5, some configurations of ReverseProxy (from net/http/httputil) result in a situation where an attacker is able to drop arbitrary headers.

  • Unscored —

    Panic on inputs with large exponents in math/big

    In Go before 1.15.13 and 1.16.x before 1.16.5, there can be a panic for a large exponent to the math/big.Rat SetString or UnmarshalText method.

  • Unscored —

    Panic in ReverseProxy in net/http/httputil

    Go before 1.15.15 and 1.16.x before 1.16.7 has a race condition that can lead to a net/http/httputil ReverseProxy panic upon an ErrAbortHandler abort.

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1972825
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1976168
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1979100
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1989564
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1989570
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1989575
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1995656