ADVISORIES

Vulnerability

CVE-2021-27918

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.

22 advisories report this vulnerability, across 12 ecosystems.

Advisories in Amazon Linux

  • ALAS2-2022-1776

    Amazon Linux 2 2017.12 - ALAS2-2022-1776: important priority package update for golang

    Important CVE-2021-27918CVE-2021-27919CVE-2021-33195CVE-2021-33197 Amazon Linux Updated 7 August 2025

References