Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion. Thanks to Juho Nurminen of Mattermost for reporting this issue. This is CVE-2022-30632. (This was a PRIVATE issue tracked in b/226945200 and fixed by http://tg/1498176.)
Activity
tatianab commentedon Jul 6, 2022
@gopherbot please open backport issues for this security fix
gopherbot commentedon Jul 6, 2022
Backport issue(s) opened: #53713 (for 1.17), #53714 (for 1.18).
Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.
gopherbot commentedon Jul 12, 2022
Change https://go.dev/cl/417059 mentions this issue:
[release-branch.go1.18] path/filepath: fix stack exhaustion in Globgopherbot commentedon Jul 12, 2022
Change https://go.dev/cl/417066 mentions this issue:
path/filepath: fix stack exhaustion in Globgopherbot commentedon Jul 12, 2022
Change https://go.dev/cl/417073 mentions this issue:
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob[release-branch.go1.18] path/filepath: fix stack exhaustion in Glob
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
[-]security: fix CVE-2022-30632[/-][+]path/filepath: stack exhaustion in Glob[/+][release-branch.go1.18] path/filepath: fix stack exhaustion in Glob
path/filepath: fix stack exhaustion in Glob
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
[release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
path/filepath: fix stack exhaustion in Glob
path/filepath: fix stack exhaustion in Glob
path/filepath: fix stack exhaustion in Glob
path/filepath: fix stack exhaustion in Glob