PT-2021-17668
CVE-2021-27918
·
Published
2021-02-19
·
Updated
2024-06-15
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions:
Go versions prior to 1.15.9
Go versions 1.16.x prior to 1.16.1
Description:
The issue arises when a custom TokenReader for xml.NewTokenDecoder returns EOF in the middle of an element, potentially causing an infinite loop in the Decode, DecodeElement, or Skip method of an xml.Decoder. This can occur when operating on a custom xml.TokenReader.
Recommendations:
For Go versions prior to 1.15.9, update to version 1.15.9 or later to resolve the issue.
For Go versions 1.16.x prior to 1.16.1, update to version 1.16.1 or later to resolve the issue.
As a temporary workaround, consider restricting the use of custom TokenReaders that may return EOF in the middle of an element until a patch is applied.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾