{"id":"CVE-2022-30632","aliases":["CVE-2022-30632","GO-2022-0522","BIT-GOLANG-2022-30632"],"related":[],"kind":"vulnerability","state":"published","title":"Stack exhaustion on crafted paths in path/filepath","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.","format":"markdown","source":"go"},{"lang":"es","text":"Una recursión no controlada en Glob en path/filepath versiones anteriores a Go 1.17.12 y Go 1.18.4, permite a un atacante causar un pánico debido al agotamiento de la pila por medio de una ruta que contenga un gran número de separadores de ruta","source":"nvd"}],"published":"2022-07-20T17:02:29.000Z","modified":"2026-09-08T08:47:48.415Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.17.12","status":"affected"},{"type":"semver","introduced":"1.18.0-0","fixed":"1.18.4","status":"affected"}],"vendor":"Go standard library","product":"path/filepath","package":"path/filepath","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0-0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.17.12"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.4"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.17.12"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.4"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://go.dev/cl/417066","tags":["advisory","fix","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef","tags":["advisory","fix","mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/53416","tags":["advisory","issue-tracking","report","vendor-advisory","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0522","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30632","tags":["web"],"sources":["bitnami"]}],"credits":["Juho Nurminen of Mattermost"],"assigner":"Go","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-30632","url":"https://www.cve.org/CVERecord?id=CVE-2022-30632","licence":"CVE Terms of Use","modified":"2024-08-03T06:56:13.251Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0522","url":"https://pkg.go.dev/vuln/GO-2022-0522","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-30632","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30632","licence":"Public domain","modified":"2026-06-17T04:43:59.057Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2022-30632","url":"https://osv.dev/vulnerability/BIT-GOLANG-2022-30632","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.415Z"}],"updatedAt":"2026-11-25T22:58:14.063Z","epss":{"score":0.02208,"percentile":0.83091,"date":"2026-12-01T12:00:22.000Z"}}