GO-2021-0234
Dashboard / Vulnerabilities / GO-2021-0234
GO-2021-0234
Published: 17 Feb 2022Last Modified: 20 May 2024
Aliases:
Summary: Infinite loop when decoding inputs in encoding/xml
Details: 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.
References: https://go.dev/cl/300391, https://go.googlesource.com/go/+/d0b79e3513a29628f3599dc8860666b6eed75372, https://go.dev/issue/44913, https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.15.9
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
