CVE-2022-30633
High
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedAug 10, 2022
First seenAug 10, 2022
Weakness typeCWE-674CWE-674
How to fix
Update
- golang go1.17.12, 1.18.4 or later
- stdlib1.17.12, 1.18.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.17.12, 1.18.0 ≤ v < 1.18.4 | 1.17.12, 1.18.4 |
| stdlibGo | v < 1.17.12, 1.18.0-0 ≤ v < 1.18.4 | 1.17.12, 1.18.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.