Lucene search

K
osvGoogleOSV:GO-2022-0515
HistoryJul 20, 2022 - 5:01 p.m.

Stack exhaustion due to deeply nested types in go/parser

2022-07-2017:01:45
Google
osv.dev
15

6.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

26.5%

Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.

CPENameOperatorVersion
stdliblt1.17.12
stdliblt1.18.4
stdlibge1.18.0-0