blob: 63702f8f406be2d9789821d84536250e55342ae1 [file] [log] [blame]
packages:
- module: std
package: encoding/xml
symbols:
- Decoder.Token
versions:
- fixed: go1.15.9
- introduced: go1.16.0
fixed: go1.16.1
description: |
The Decode, DecodeElement, and Skip methods of an xml.Decoder
provided by xml.NewTokenDecoder may enter an infinite loop when
operating on a custom xml.TokenReader which returns an EOF in the
middle of an open XML element.
published: 2022-02-17T17:34:24Z
cves:
- CVE-2021-27918
credit: Sam Whited
links:
pr: https://go.dev/cl/300391
commit: https://go.googlesource.com/go/+/d0b79e3513a29628f3599dc8860666b6eed75372
context:
- https://go.dev/issue/44913
- https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw