Skip to content
OpenAdvisories
Unscored SUSE-SU-2021:0937-1 2 CVEs

Security update for go1.16

Published Mar 24, 2021 · Updated Feb 4, 2026

Summary

This update for go1.16 fixes the following issues:

- go1.16.2 (released 2021-03-11) (bsc#1182345)
- go1.16.1 (released 2021-03-10) (bsc#1182345)
- CVE-2021-27918: Fixed an infinite loop when using xml.NewTokenDecoder with a custom TokenReader (bsc#1183333).
- CVE-2021-27919: Fixed an issue where archive/zip: can panic when calling Reader.Open (bsc#1183334).

Fixed packages 1

ReleasePackageFixed in
SUSE · SLES 15 SP2 Linux Enterprise Module for Development Tools 15 SP2 go1.16 1.16.2-1.8.1

Vulnerabilities 2

  • 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 opening archives in archive/zip

    archive/zip in Go 1.16.x before 1.16.1 allows attackers to cause a denial of service (panic) upon attempted use of the Reader.Open API for a ZIP archive in which ../ occurs at the beginning of any filename.

References

  • report
    https://bugzilla.suse.com/1182345
  • report
    https://bugzilla.suse.com/1183333
  • report
    https://bugzilla.suse.com/1183334
  • web
    https://www.suse.com/security/cve/CVE-2021-27918
  • web
    https://www.suse.com/security/cve/CVE-2021-27919