CVE-2022-1962Published Aug 9, 2022 · Aug 9Updated Oct 28
Stack exhaustion due to deeply nested types in go/parser
Go standard library go/parser
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| stdlib Go |
|
|
Original 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.
From the CVE record · Go