{"schema_version":"1.9.0","id":"BIT-golang-2022-30632","published":"2024-03-06T10:59:52.395Z","modified":"2026-09-08T08:47:48.415865039Z","aliases":["CVE-2022-30632","GO-2022-0522"],"summary":"Stack exhaustion on crafted paths in path/filepath","details":"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":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0"},{"fixed":"1.18.4"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2022-30632.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}],"references":[{"type":"ADVISORY","url":"https://go.dev/cl/417066"},{"type":"ADVISORY","url":"https://go.dev/issue/53416"},{"type":"ADVISORY","url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"},{"type":"ADVISORY","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2022-0522"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30632"}],"database_specific":{"cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"],"severity":"High"}}