CVE-2022-30630
Aliases:GO-2022-0527BIT-golang-2022-30630
Advisory lineage Upstream: 0 Downstream: 28
Modified
Published: 09 Aug 2022, 20:17
Last modified:06 Mar 2026, 17:48
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.05% LOW
0% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
09 Aug 2022, 20:17
Published
Vulnerability first disclosed
06 Mar 2026, 17:48
Last Modified
Vulnerability information updated
Description
Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.05%• Percentile: 17%
Techniques & Countermeasures
- CWE-674•Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Affected Systems
- go standard library•io/fs
< 1.17.12 | ≥ 1.18.0-0, < 1.18.4
- golang•go
< 1.17.12 | ≥ 1.18.0, < 1.18.4
- Go•stdlib
≥ 1.18.0-0, < 1.18.4