GO-2022-0515

Stack exhaustion due to deeply nested types in go/parser

En bref

Publiée
Mise à jour
CVE
CVE-2022-1962
Alias
BIT-golang-2022-1962

Description

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.

Paquets affectés

PaquetVersions
Go · stdlibintroduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database