Vulnerability Details : CVE-2022-1962
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.
Products affected by CVE-2022-1962
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-1962
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 34 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-1962
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2022-1962
-
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.Assigned by:
- nvd@nist.gov (Primary)
- security@golang.org (Secondary)
References for CVE-2022-1962
-
https://pkg.go.dev/vuln/GO-2022-0515
GO-2022-0515 - Go PackagesVendor Advisory
-
https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879
695be961d57508da5a82217f7415200a11845879 - go - Git at GooglePatch;Vendor Advisory
-
https://go.dev/issue/53616
go/parser: stack exhaustion in all Parse* functions · Issue #53616 · golang/go · GitHubExploit;Issue Tracking;Patch;Vendor Advisory
-
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
[security] Go 1.18.4 and Go 1.17.12 are releasedRelease Notes;Vendor Advisory
-
https://go.dev/cl/417063
go/parser: limit recursion depth (I4d7b86c1) · Gerrit Code ReviewPatch;Vendor Advisory
Jump to