CVE-2021-27918Published Mar 10, 2021 · Mar 10Updated Oct 24
Infinite loop when decoding inputs in encoding/xml
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original 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.
From the CVE record · mitre