Vulnerability Report: GO-2022-0515
standard library- CVE-2022-1962
- Affects: go/parser
- Published: Jul 20, 2022
- Modified: May 20, 2024
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.
Affected Packages
-
PathGo VersionsSymbols
-
before go1.17.12, from go1.18.0-0 before go1.18.4
Aliases
References
- https://go.dev/cl/417063
- https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879
- https://go.dev/issue/53616
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- https://vuln.go.dev/ID/GO-2022-0515.json
Credits
- Juho Nurminen of Mattermost
Feedback
See anything missing or incorrect?
Suggest an edit to this report.