{"id":"CVE-2022-30632","state":"PUBLISHED","title":"Stack exhaustion on crafted paths in path/filepath","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.","publishedAt":"2022-08-09T20:15:37.000Z","updatedAt":"2024-08-03T06:56:13.251Z","severity":null,"assigner":"Go","products":["Go standard library path/filepath"],"affected":[{"vendor":"Go standard library","product":"path/filepath","packageName":"path/filepath","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.12","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"Glob"}]}],"references":["https://go.dev/cl/417066","https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef","https://go.dev/issue/53416","https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","https://pkg.go.dev/vuln/GO-2022-0522"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:04.052Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/30xxx/CVE-2022-30632.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-30632","state":"PUBLISHED","datePublished":"2022-08-09T20:15:37.000Z","dateUpdated":"2024-08-03T06:56:13.251Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2022-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Stack exhaustion on crafted paths in path/filepath","descriptions":[{"lang":"en","value":"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":[{"vendor":"Go standard library","product":"path/filepath","packageName":"path/filepath","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.17.12","versionType":"semver"},{"version":"1.18.0-0","status":"affected","lessThan":"1.18.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","programRoutines":[{"name":"Glob"}]}],"references":[{"url":"https://go.dev/cl/417066"},{"url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"},{"url":"https://go.dev/issue/53416"},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"},{"url":"https://pkg.go.dev/vuln/GO-2022-0522"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-674: Uncontrolled Recursion"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2023-06-12T19:04:36.688Z"},"credits":[{"lang":"en","value":"Juho Nurminen of Mattermost"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/cl/417066","tags":["x_transferred"]},{"url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef","tags":["x_transferred"]},{"url":"https://go.dev/issue/53416","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0522","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:56:13.251Z"}}]}}}