Infinite Loop Vulnerability in Go XML Parsing by Google
CVE-2021-27918
7.5HIGH
What is CVE-2021-27918?
The Go programming language has a vulnerability in its XML encoding library that can cause an infinite loop. This issue arises when a custom TokenReader, designed for use with xml.NewTokenDecoder, unexpectedly returns an EOF signal midway through an XML element. This malfunction can lead to significant interruptions during the execution of the Decode, DecodeElement, or Skip methods, potentially affecting application performance and reliability.