PT-2022-14222
CVE-2022-1962
·
تاريخ النشر
2022-07-12
·
تاريخ التحديث
2026-11-11
الوصف من
CVSS 3.1
9.8
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Go versions prior to 1.17.12
Go versions prior to 1.18.4
Description
The issue is related to uncontrolled recursion in the Parse functions in go/parser, which can cause a panic due to stack exhaustion via deeply nested types or declarations. An attacker can exploit this by calling any of the Parse functions on Go source code containing deeply nested types or declarations.
Recommendations
For Go versions prior to 1.17.12, update to version 1.17.12 or later to resolve the issue.
For Go versions prior to 1.18.4, update to version 1.18.4 or later to resolve the issue.
As a temporary workaround, consider restricting the use of deeply nested types or declarations in Go source code to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾