5.5Media

CVE-2022-1962Stack exhaustion due to deeply nested types in go/parser

Go standard library go/parser Publicada: (hace 4 años)

Descripción

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.

Debilidad (CWE): CWE-674

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Go standard library go/parser < 1.17.12, 1.18.0-0 – < 1.18.4

Referencias y parches