Vulnerabilities · 2022 · Golang
CVE-2022-30633
Golang Go vulnerability
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 products
Go. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Go runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- go.dev/cl/417061 · Patch
- go.dev/issue/53611 · Vendor Advisory
- go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08 · Patch
- groups.google.com/g/golang-announce/c/nqrv9fbR0zE · Vendor Advisory
- pkg.go.dev/vuln/GO-2022-0523 · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-30633
- cve.org/CVERecord?id=CVE-2022-30633
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.