CVE-2022-1962

Stack exhaustion due to deeply nested types in go/parser

Medium · published August 9, 2022

CVSS v3.1
5.5
EPSS
1%
Percentile
59.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00916 · 59.8th percentile
Published
2022-08-09T20:18Z
EPSS history
Timeline
  • 09 AUG 20:18Z
    Stack exhaustion due to deeply nested types in go/parser
    cvelistv5