{"id":"CVE-2022-30632","published":"2022-08-09T20:15:37Z","modified":"2024-08-03T06:56:13Z","title":"Stack exhaustion on crafted paths in path/filepath","vendor":"Go standard library","product":"path/filepath","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0219,"percentile":0.82874,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/417066","tags":[]},{"url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef","tags":[]},{"url":"https://go.dev/issue/53416","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0522","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":16.57}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"path/filepath","versions":["< 1.17.12",">= 1.18.0-0, < 1.18.4"]}],"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.12",">=1.18.0-0, <1.18.4"],"patched":["1.17.12","1.18.4"],"from":["GO-2022-0522"],"provenance":"source"}],"summary":{"text":"The path/filepath package in the Go standard library contains an uncontrolled recursion flaw in its Glob function, present in versions before Go 1.17.12 and Go 1.18.4. An attacker able to supply a path containing a large number of path separators can trigger stack exhaustion, causing the program to panic.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:39Z"},"euvd":{"id":"EUVD-2022-52463","exploited":false,"provenance":"source"}}