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

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

Published Aug 10, 2021 · Updated Feb 5, 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.15.14). (BZ#1982287)

Security Fix(es):

* golang: encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader (CVE-2021-27918)

* golang: net/http: panic in ReadRequest and ReadResponse when reading a very large header (CVE-2021-31525)

* golang: archive/zip: malformed archive may cause panic or memory exhaustion (CVE-2021-33196)

* golang: crypto/tls: certificate of wrong type is causing TLS client to panic (CVE-2021-34558)

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.

Bug Fix(es):

* FIPS mode AES CBC CryptBlocks incorrectly re-initializes IV in file crypto/internal/boring/aes.go (BZ#1978567)

* FIPS mode AES CBC Decrypter produces incorrect result (BZ#1983976)

Fixed packages 3

ReleasePackageFixed in
Rocky Linux · 8 delve 0:1.5.0-2.module+el8.4.0+396+d2d16ae3
Rocky Linux · 8 go-toolset 0:1.15.14-1.module+el8.4.0+632+4dba2916
Rocky Linux · 8 golang 0:1.15.14-1.module+el8.4.0+632+4dba2916

Vulnerabilities 4

  • Medium 5.9

    golang.org/x/net/http/httpguts vulnerable to Uncontrolled Recursion

    net/http in Go before 1.15.12 and 1.16.x before 1.16.4 allows remote attackers to cause a denial of service (panic) via a large header to ReadRequest or ReadResponse. Server, Transport, and Client can each be affected in some configurations.

  • Unscored —

    Infinite loop when decoding inputs in encoding/xml

    encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1 has an infinite loop if a custom TokenReader (for xml.NewTokenDecoder) returns EOF in the middle of an element. This can occur in the Decode, DecodeElement, or Skip method.

  • Unscored —

    Panic when reading certain archives in archive/zip

    In archive/zip in Go before 1.15.13 and 1.16.x before 1.16.5, a crafted file count (in an archive's header) can cause a NewReader or OpenReader panic.

  • Unscored —
    CVE-2021-34558 Public exploit

    Panic on certain certificates in crypto/tls

    The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1937901
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1958341
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1965503
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1978567
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1983596