CVE-2022-30630

Stack exhaustion in Glob on certain paths in io/fs

State
Published
Severity
7.5 High
Published
Aug 9, 2022
Updated
Mar 6, 2026
Reserved
May 12, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
io/fsGo standard library
  • before 1.17.12Affected
  • 1.18.0-0 to before 1.18.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.