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
Link Resource
https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202208-02 Third Party Advisory
Advertisement

NeevaHost hosting service

Configurations

Configuration 1 (hide)

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

Information

Published : 2021-03-10 16:15

Updated : 2022-12-13 08:28


NVD link : CVE-2021-27918

Mitre link : CVE-2021-27918


JSON object : View

CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')

Advertisement

dedicated server usa

Products Affected

golang

  • go