Go Vulnerability Database
GO-2022-0527
Stack exhaustion in Glob on certain paths in io/fs
Details
Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | stdlib | All versions before 1.17.12 (fixed in 1.17.12) From 1.18.0-0 before 1.18.4 (fixed in 1.18.4) |