Skip to content
5.5 Medium

CVE-2022-1962 Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause…

Description

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 products and versions

Product Affected versions Fixed in
go/parser 1.18 1.18.0-0 → < 1.18.4 1.18.4
go/parser 1.17 earliest → < 1.17.12 1.17.12

References

Timeline

  1. Published
  2. Last modified
The 2 CVEs of go/parser →
Track this CVE