CVE-2022-30632
HIGH7.5EPSS 0.13%Stack exhaustion on crafted paths in path/filepath
Published: 7/20/2022Modified: 4/28/2026
Description
Uncontrolled recursion in Glob in path/filepath before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path containing a large number of path separators.
Affected packages (4)
- Bitnami/golangfrom 0, < 1.17.12, >= 1.18.0, < 1.18.4
- Debian/golang-1.15from 0
- 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-30632
- PATCHhttps://go.dev/cl/417066
- PATCHhttps://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef
- REPORThttps://go.dev/issue/53416
- WEBhttps://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-30632
- WEBhttps://pkg.go.dev/vuln/GO-2022-0522