Vulnerability in Golang Go
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.009, 60.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Go/parser — versions 0, 1.18.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 other repositories (8-cm/kube-dump, agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/cl/417063 (Patch, Vendor Advisory)
- go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879 (Patch, Vendor Advisory)
- go.dev/issue/53616 (Exploit, Patch, Issue Tracking, Vendor Advisory)
- groups.google.com/g/golang-announce/c/nqrv9fbR0zE (Release Notes, Vendor Advisory)
- pkg.go.dev/vuln/GO-2022-0515 (Vendor Advisory)