LiveActive security incident?Get immediate response
CVE Record

CVE-2022-30630: Stack exhaustion in Glob on certain paths in io/fs

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Go's io/fs Glob could let a specially shaped path crash an affected Go program. The impact is availability, not data theft or code execution. Risk is highest for services that accept externally influenced paths or glob patterns and were built with Go before 1.17.12 or 1.18.4.

Executive priority

Treat as a high-priority availability fix for exposed Go services. It is less urgent than active exploitation or code execution, but a crashable public service can still create operational downtime.

Technical view

Glob in io/fs used uncontrolled recursion before Go 1.17.12 and 1.18.4. A path containing many separators can exhaust the stack and trigger a panic. The CVE maps to CWE-674 and CVSS 7.5, with availability-only impact.

Likely exposure

Exposure is likely limited to Go applications built with vulnerable Go versions that call io/fs Glob on attacker-influenced paths or patterns. Static Go binaries may remain vulnerable until rebuilt with a fixed toolchain.

Exploitation context

The bundle does not show CISA KEV listing or active exploitation evidence. The public description supports denial of service through process panic, but not code execution, privilege escalation, or data compromise.

Researcher notes

Focus assessment on reachability of io/fs Glob and whether attackers can influence path content. Evidence supports stack exhaustion from many separators; do not assume broader path traversal, memory corruption, or remote code execution.

Mitigation direction

  • Upgrade Go toolchains to 1.17.12, 1.18.4, or later supported versions.
  • Rebuild and redeploy affected Go binaries after upgrading the toolchain.
  • Prioritize internet-facing services that process user-controlled paths or glob patterns.
  • Check Go vendor guidance for any branch-specific remediation details.

Validation and detection

  • Inventory deployed Go binaries and their build toolchain versions.
  • Identify code paths using io/fs Glob with external input influence.
  • Review crash logs for stack exhaustion or panic patterns in path handling.
  • Confirm rebuilt services run with fixed Go versions.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-674: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-30630 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2022-30630Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Go standard libraryio/fsio/fs, 0, 1.18.0-0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-674 · source CWE mapping

Uncontrolled Recursion

Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.