What’s Vulnerable › Vulnerabilities

CVE-2024-34155: Stack exhaustion in all Parse functions in go/parser

Description

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

Affected products

How to fix

Upgrade to a fixed version: Go 1.22.7, 1.23.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34155 or the next vulnerability affects your stack