GO-2022-0523

Stack exhaustion when unmarshaling certain documents in encoding/xml

At a glance

Published
Updated
CVE
CVE-2022-30633
Aliases
BIT-golang-2022-30633

Description

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.

Affected packages

PackageVersions
Go · stdlibintroduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database