CVE-2022-1962
Aliases:GO-2022-0515BIT-golang-2022-1962
Advisory lineage Upstream: 0 Downstream: 22
Modified
Published: 09 Aug 2022, 20:18
Last modified:06 Mar 2026, 19:08
Vulnerability Summary
Overall Risk (default)
medium
32/100 CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
<0.01% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
09 Aug 2022, 20:18
Published
Vulnerability first disclosed
06 Mar 2026, 19:08
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.01%• Percentile: 0%
Techniques & Countermeasures
- CWE-674•Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected Systems
- go standard library•go/parser
< 1.17.12 | ≥ 1.18.0-0, < 1.18.4
- golang•go
< 1.17.12 | ≥ 1.18.0, < 1.18.4
- Go•stdlib
≥ 1.18.0-0, < 1.18.4