MEDIUM4.3
GO-2024-3105
Stack exhaustion in all Parse functions in go/parser
Quick fix
GO-2024-3105 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.22.7Details
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
Are you affected?
Enter the version of the package you're using.