Description
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.
Published: 2021-03-10
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-14641 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.
History

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00052}

epss

{'score': 0.00054}


Sun, 13 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00026}

epss

{'score': 0.00052}


Subscriptions

Golang Go
Redhat Enterprise Linux Openshift Container Storage Serverless
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T21:33:16.406Z

Reserved: 2021-03-03T00:00:00.000Z

Link: CVE-2021-27918

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-11T00:15:12.030

Modified: 2024-11-21T05:58:48.207

Link: CVE-2021-27918

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-10T00:00:00Z

Links: CVE-2021-27918 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses