CVE-2022-1962
Stack exhaustion due to deeply nested types in go/parser
5.5
MEDIUM
CVSS 3.1
EPSS 0.01%
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.
How to fix CVE-2022-1962
To remediate CVE-2022-1962, upgrade the affected package to a fixed version below.
- Bitnami/golang—upgrade to 1.17.12 or later
- —no fix listed
- —upgrade to 1.19~rc2-1 or later
- —upgrade to 1.17.12 or later
Is CVE-2022-1962 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.17.12, >= 1.18.0, < 1.18.4
- from 0
- from 0, < 1.19~rc2-1
- from 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |