Infinite Loop Vulnerability in Go XML Parsing by Google
CVE-2021-27918

7.5HIGH

Key Information:

Vendor

Golang

Status
Vendor
CVE Published:
11 March 2021

What is CVE-2021-27918?

The Go programming language has a vulnerability in its XML encoding library that can cause an infinite loop. This issue arises when a custom TokenReader, designed for use with xml.NewTokenDecoder, unexpectedly returns an EOF signal midway through an XML element. This malfunction can lead to significant interruptions during the execution of the Decode, DecodeElement, or Skip methods, potentially affecting application performance and reliability.

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.