GO-2022-0527
Stack exhaustion in Glob on certain paths in io/fs
At a glance
- Published
- Updated
- CVE
- CVE-2022-30630
- Aliases
- BIT-golang-2022-30630
Description
Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.
Affected packages
| Package | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4 |
References
- https://go.dev/cl/417065 FIX
- https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59 FIX
- https://go.dev/issue/53415 REPORT
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |