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
Configurations

Configuration 1 (hide)

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

History

13 Dec 2022, 16:28

Type Values Removed Values Added
References (GENTOO) https://security.gentoo.org/glsa/202208-02 - (GENTOO) https://security.gentoo.org/glsa/202208-02 - Third Party Advisory

04 Aug 2022, 16:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202208-02 -

18 Mar 2021, 14:34

Type Values Removed Values Added
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
CWE CWE-835
References (MISC) https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw - (MISC) https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw - Mailing List, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5

11 Mar 2021, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-11 00:15

Updated : 2023-12-10 13:41


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')