encoding/xml in Go before 1.15.9 and 1.16.x before 1.16.1...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Mar 11, 2021
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Jan 27, 2023
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.
References