GO-2022-0515
Dashboard / Vulnerabilities / GO-2022-0515
GO-2022-0515
Published: 20 Jul 2022Last Modified: 20 May 2024
Aliases:
Summary: Stack exhaustion due to deeply nested types in go/parser
Details: 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.
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
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.17.12
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
