Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.17.12 |
Related Weaknesses (CWE)
References
- https://go.dev/cl/417063PatchVendor Advisory
- https://go.dev/issue/53616ExploitIssue TrackingPatch
- https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879PatchVendor Advisory
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zERelease NotesVendor Advisory
- https://pkg.go.dev/vuln/GO-2022-0515Vendor Advisory
- https://go.dev/cl/417063PatchVendor Advisory
- https://go.dev/issue/53616ExploitIssue TrackingPatch
- https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879PatchVendor Advisory
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zERelease NotesVendor Advisory
- https://pkg.go.dev/vuln/GO-2022-0515Vendor Advisory
FAQ
What is CVE-2022-1962?
CVE-2022-1962 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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.
How severe is CVE-2022-1962?
CVE-2022-1962 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-1962?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.