CVE-2022-1962
CVE-2022-1962 · Stack exhaustion due to deeply nested types in go/parser
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.5 · Medium · EPSS 0.9% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
go/parser
- Versions
- ≥ 0, < 1.17.12: Affected (semver)
- ≥ 1.18.0-0, < 1.18.4: Affected (semver)
Update to 1.17.12; Update to 1.18.4
golang-1.19 Debian:12
- Affected ranges
- ECOSYSTEM: < 1.19~rc2-1
Update to 1.19~rc2-1
golang-1.18 Ubuntu:18.04:LTS
- Versions
- 1.18.1-1ubuntu1~18.04.3
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4
Update to 1.18.1-1ubuntu1~18.04.4
golang-1.18 Ubuntu:20.04:LTS
- Versions
- 1.18.1-1ubuntu1~20.04.1
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.2
Update to 1.18.1-1ubuntu1~20.04.2
golang-1.18 Ubuntu:22.04:LTS
- Versions
- 1.18~beta1-0ubuntu1
- 1.18~beta2-1ubuntu1
- 1.18~beta2-1ubuntu2
- 1.18~rc1-1ubuntu1
- 1.18-1ubuntu1
- 1.18.1-1ubuntu1
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1.1
Update to 1.18.1-1ubuntu1.1