MEDIUM5.5
GO-2022-0515
Stack exhaustion due to deeply nested types in go/parser
Quick fix
GO-2022-0515 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.17.12Details
Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.
Are you affected?
Enter the version of the package you're using.