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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2021-03-11 00:15

Updated : 2024-11-21 05:58


NVD link : CVE-2021-27918

Mitre link : CVE-2021-27918

CVE.ORG link : CVE-2021-27918


JSON object : View

Products Affected

golang

  • go
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')