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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAwMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-02Third Party Advisory
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAwMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-02Third Party Advisory
Timeline
- Published
- Mar 11, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified