{"schema_version":"1.9.0","id":"BIT-golang-2022-30633","published":"2024-03-06T10:59:42.110Z","modified":"2026-09-08T08:47:48.587892827Z","aliases":["CVE-2022-30633","GO-2022-0523"],"summary":"Stack exhaustion when unmarshaling certain documents in encoding/xml","details":"Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.","affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2022-30633.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}],"references":[{"type":"ADVISORY","url":"https://go.dev/cl/417061"},{"type":"ADVISORY","url":"https://go.dev/issue/53611"},{"type":"ADVISORY","url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08"},{"type":"ADVISORY","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2022-0523"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30633"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}