CVE-2022-1962
Stack exhaustion due to deeply nested types in go/parser
Summary
Stack exhaustion due to deeply nested types in go/parser
Original description
The description as published by the source.
Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.
Affected packages
Bitnami
golang
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-1962 golang-1.15
References
- advisory nvd.nist.gov
- advisory github.com
- web go.dev
- web go.dev
- web go.googlesource.com
- web groups.google.com
- web pkg.go.dev
- web pkg.go.dev