blob: 2b1df134eca07c483aa47e466525fc765c762eaf [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0523",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-20T20:52:06Z",
"aliases": [
"CVE-2022-30633"
],
"summary": "Stack exhaustion when unmarshaling certain documents in encoding/xml",
"details": "Unmarshaling an XML document into a Go struct which has a nested field that uses the 'any' field tag can panic due to stack exhaustion.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.12"
},
{
"introduced": "1.18.0-0"
},
{
"fixed": "1.18.4"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "encoding/xml",
"symbols": [
"Decoder.DecodeElement",
"Decoder.unmarshal",
"Decoder.unmarshalPath"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/417061"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/53611"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0523"
}
}