ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-1962

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:18.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1~18.04.4 (fixed in 1.18.1-1ubuntu1~18.04.4)
Ubuntu:20.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1~20.04.2 (fixed in 1.18.1-1ubuntu1~20.04.2)
Ubuntu:22.04:LTSgolang-1.18
All versions before 1.18.1-1ubuntu1.1 (fixed in 1.18.1-1ubuntu1.1)

References