GO-2022-0523
Dashboard / Vulnerabilities / GO-2022-0523
GO-2022-0523
Published: 20 Jul 2022Last Modified: 20 May 2024
Aliases:
Summary: Stack exhaustion when unmarshaling certain documents in encoding/xml
Details: 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.
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
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.17.12
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
