You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
encoding/xml: infinite loop when using xml.NewTokenDecoder with a custom TokenReader #44913
The Decode, DecodeElement, and Skip methods of an xml.Decoder provided by xml.NewTokenDecoder may enter an infinite loop when operating on a custom xml.TokenReader which returns an EOF in the middle of an open XML element.
Thanks to Sam Whited for reporting this issue.
This issue is CVE-2021-27918.
Activity
gopherbot commentedon Mar 10, 2021
Change https://golang.org/cl/300391 mentions this issue:
encoding/xml: prevent infinite loop while decodingKeep up (#3)
encoding/xml: prevent infinite loop while decoding