CVE-2022-30630
HIGH7.5EPSS 0.05%Stack exhaustion in Glob on certain paths in io/fs
Published: 7/20/2022Modified: 4/28/2026
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.
Affected packages (3)
- Bitnami/golangfrom 0, < 1.17.12, >= 1.18.0, < 1.18.4
- Debian/golang-1.19from 0, < 1.19~rc2-1
- Go/stdlibfrom 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-30630
- PATCHhttps://go.dev/cl/417065
- PATCHhttps://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
- REPORThttps://go.dev/issue/53415
- WEBhttps://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-30630
- WEBhttps://pkg.go.dev/vuln/GO-2022-0527