GO-2022-0523

See a problem?
Source
https://pkg.go.dev/vuln/GO-2022-0523
Import Source
https://vuln.go.dev/ID/GO-2022-0523.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0523
Aliases
Published
2022-07-20T20:52:06Z
Modified
2024-05-20T16:03:47Z
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

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.12
Introduced
1.18.0-0
Fixed
1.18.4

Ecosystem specific

{
    "imports": [
        {
            "path": "encoding/xml",
            "symbols": [
                "Decoder.DecodeElement",
                "Decoder.unmarshal",
                "Decoder.unmarshalPath"
            ]
        }
    ]
}