CVE-2022-30630

Aliases:GO-2022-0527BIT-golang-2022-30630
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.1HIGHScore: 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-674Uncontrolled 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 libraryio/fs

    < 1.17.12 | ≥ 1.18.0-0, < 1.18.4

  • golanggo

    < 1.17.12 | ≥ 1.18.0, < 1.18.4

  • Gostdlib

    ≥ 1.18.0-0, < 1.18.4

References (5)