CVE-2022-1962
Medium
Description
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
SeverityMedium
CVSS5.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.