7.5
High
CVE-2022-30633 Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| encoding/xml 1.18 | 1.18.0-0 → < 1.18.4 | 1.18.4 |
| encoding/xml 1.17 | earliest → < 1.17.12 | 1.17.12 |
References
- go.dev go.dev
- go.googlesource.com go.googlesource.com
- go.dev go.dev
- groups.google.com groups.google.com
- pkg.go.dev pkg.go.dev
Timeline
- Published
- Last modified