CVE-2022-30630
Grafana vulnerability analysis and mitigation

Overview

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. The vulnerability was assigned CVE-2022-30630 and was discovered in 2022, affecting the Go programming language's standard library (NVD, Go Issue).

Technical details

The vulnerability exists in the io/fs package's Glob function implementation. When processing paths containing numerous path separators, the function can enter an uncontrolled recursive state leading to stack exhaustion. The issue has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-674 (Uncontrolled Recursion) (NVD).

Impact

When exploited, this vulnerability can cause a denial of service condition through application panic due to stack exhaustion. The attack affects the availability of the system while not impacting confidentiality or integrity (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.17.12 and 1.18.4. The fix involves adding a limit to the number of path separators allowed by an input to Glob to prevent stack exhaustion issues. Users are advised to upgrade to these or later versions (Go Announce).

Additional resources


SourceThis report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-15284HIGH8.7
  • JavaScriptJavaScript
  • mozjs60
NoYesDec 29, 2025
CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • grafana-cloudwatch
NoYesJan 10, 2026
CVE-2026-22029HIGH8
  • JavaScriptJavaScript
  • ipa-server-encrypted-dns
NoYesJan 10, 2026
CVE-2025-68429HIGH7.3
  • JavaScriptJavaScript
  • storybook
NoYesDec 17, 2025
CVE-2025-14505MEDIUM5.6
  • JavaScriptJavaScript
  • grafana
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management