Back
CVE-2022-30633
Stack exhaustion when unmarshaling certain documents in encoding/xml
High7.5EPSS 2.2%
- Published
- Updated
- Reserved
- Assigned by
- Go
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 2.2% · top 17% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- CWE-674: Uncontrolled Recursion
- CWE-674 Uncontrolled Recursion (opens in a new tab)All about CWE-674 and its CVEs
Affected products
Go standard library · encoding/xml
- affected < 1.17.12
- affected 1.18.0-0 – < 1.18.4
References (5)
- https://go.dev/cl/417061 (opens in a new tab)x_transferred
- https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08 (opens in a new tab)x_transferred
- https://go.dev/issue/53611 (opens in a new tab)x_transferred
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2022-0523 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-30633)Record last updated .