SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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.

HIGH 7.5EPSS 2.47%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (2.47%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.47% probability · 84th percentile
CISA KEV
Not listed
Weakness
CWE-835
Affected
golang/go
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.