{"id":"CVE-2022-30633","state":"PUBLISHED","title":"Stack exhaustion when unmarshaling certain documents in encoding/xml","description":"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.","publishedAt":"2022-08-09T20:16:19.000Z","updatedAt":"2026-03-09T16:53:13.209Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library encoding/xml"],"affected":[{"vendor":"Go standard library","product":"encoding/xml","packageName":"encoding/xml","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.12","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"Decoder.DecodeElement"},{"name":"Decoder.unmarshal"},{"name":"Decoder.unmarshalPath"}]}],"references":["https://go.dev/cl/417061","https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08","https://go.dev/issue/53611","https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","https://pkg.go.dev/vuln/GO-2022-0523"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T19:50:04.052Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/30xxx/CVE-2022-30633.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-30633","state":"PUBLISHED","datePublished":"2022-08-09T20:16:19.000Z","dateUpdated":"2026-03-09T16:53:13.209Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2022-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Stack exhaustion when unmarshaling certain documents in encoding/xml","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go standard library","product":"encoding/xml","packageName":"encoding/xml","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.12","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"Decoder.DecodeElement"},{"name":"Decoder.unmarshal"},{"name":"Decoder.unmarshalPath"}]}],"references":[{"url":"https://go.dev/cl/417061"},{"url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08"},{"url":"https://go.dev/issue/53611"},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"},{"url":"https://pkg.go.dev/vuln/GO-2022-0523"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-674: Uncontrolled Recursion"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2023-06-12T19:04:39.511Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/cl/417061","tags":["x_transferred"]},{"url":"https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08","tags":["x_transferred"]},{"url":"https://go.dev/issue/53611","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0523","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:56:13.196Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-09T16:53:05.801155Z","id":"CVE-2022-30633","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","type":"CWE","lang":"en","description":"CWE-674 Uncontrolled Recursion"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-09T16:53:13.209Z"}}]}}}