PT-2022-20221
CVE-2022-30632
·
Published
2022-07-12
·
Updated
2026-10-30
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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 Glob in path/filepath, which allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators. This can be achieved by calling Glob on a path with a large number of path separators.
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 the Glob function in path/filepath to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾