Medium severity · published Aug 9, 2022
CVE-2022-1962
Stack exhaustion due to deeply nested types in go/parser
5.5
CVSS
0.9%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GO
go/parser · Go standard library
before 1.17.12; 1.18.0-0 before 1.18.4 · source: vendor
GO
GO · Golang
before 1.17.12; 1.18.0 before 1.18.4 · source: NVD