{"id":"CVE-2022-30633","aliases":["CVE-2022-30633","GO-2022-0523","BIT-GOLANG-2022-30633"],"related":[],"kind":"vulnerability","state":"published","title":"Stack exhaustion when unmarshaling certain documents in encoding/xml","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Una recursión no controlada en Unmarshal en encoding/xml versiones anteriores a Go 1.17.12 y Go 1.18.4 permite a un atacante causar un pánico debido al agotamiento de la pila por medio de unmarshal de un documento XML en una estructura Go que presenta un campo anidado que usa la etiqueta de campo 'any'","source":"nvd"}],"published":"2022-07-20T20:52:06.000Z","modified":"2026-09-08T08:47:48.587Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.17.12","status":"affected"},{"type":"semver","introduced":"1.18.0-0","fixed":"1.18.4","status":"affected"}],"vendor":"Go standard library","product":"encoding/xml","package":"encoding/xml","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0-0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.17.12"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/417061","tags":["advisory","fix","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08","tags":["advisory","fix","mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/53611","tags":["advisory","issue-tracking","report","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0523","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30633","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-09T16:53:05.801Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30633","url":"https://www.cve.org/CVERecord?id=CVE-2022-30633","licence":"CVE Terms of Use","modified":"2026-03-09T16:53:13.209Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0523","url":"https://pkg.go.dev/vuln/GO-2022-0523","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30633","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30633","licence":"Public domain","modified":"2026-06-17T04:43:59.163Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-30633","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-30633","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.587Z"}],"updatedAt":"2026-11-25T22:58:14.064Z","epss":{"score":0.0219,"percentile":0.8295,"date":"2026-12-01T12:00:22.000Z"}}