blob: 464009bb063c1eb414e53c190a56fb9c7790f58d [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2021-0234",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-02-17T17:34:24Z",
"aliases": [
"CVE-2021-27918"
],
"summary": "Infinite loop when decoding inputs in encoding/xml",
"details": "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.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.15.9"
},
{
"introduced": "1.16.0-0"
},
{
"fixed": "1.16.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "encoding/xml",
"symbols": [
"Decoder.Token"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/300391"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/d0b79e3513a29628f3599dc8860666b6eed75372"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/44913"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/MfiLYjG-RAw"
}
],
"credits": [
{
"name": "Sam Whited"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0234"
}
}