CVEvulnerability
CVE-2021-27918
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-03-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-835
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.
Affected configurations
• golang go (< 1.15.9)
• golang go (>= 1.16.0 < 1.16.1)
Related
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-02 Third Party Advisory
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202208-02 Third Party Advisory