CVE-2021-27918
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedMar 11, 2021
First seenMar 11, 2021
How to fix
Update
- golang go1.15.9, 1.16.1 or later
- stdlib1.15.9, 1.16.1 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.15.9, 1.16.0 ≤ v < 1.16.1 | 1.15.9, 1.16.1 |
| stdlibGo | v < 1.15.9, 1.16.0-0 ≤ v < 1.16.1 | 1.15.9, 1.16.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.