{"id":"CVE-2022-30630","state":"PUBLISHED","title":"Stack exhaustion in Glob on certain paths in io/fs","description":"Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.","publishedAt":"2022-08-09T20:17:15.000Z","updatedAt":"2026-03-06T17:48:19.834Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Go","products":["Go standard library io/fs"],"affected":[{"vendor":"Go standard library","product":"io/fs","packageName":"io/fs","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/417065","https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59","https://go.dev/issue/53415","https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","https://pkg.go.dev/vuln/GO-2022-0527"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:04.052Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/30xxx/CVE-2022-30630.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-30630","state":"PUBLISHED","datePublished":"2022-08-09T20:17:15.000Z","dateUpdated":"2026-03-06T17:48:19.834Z","assignerShortName":"Go","assignerOrgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateReserved":"2022-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Stack exhaustion in Glob on certain paths in io/fs","descriptions":[{"lang":"en","value":"Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators."}],"affected":[{"vendor":"Go standard library","product":"io/fs","packageName":"io/fs","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/417065"},{"url":"https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59"},{"url":"https://go.dev/issue/53415"},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"},{"url":"https://pkg.go.dev/vuln/GO-2022-0527"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-674: Uncontrolled Recursion"}]}],"providerMetadata":{"shortName":"Go","orgId":"1bb62c36-49e3-4200-9d77-64a1400537cc","dateUpdated":"2023-06-12T19:04:48.349Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://go.dev/cl/417065","tags":["x_transferred"]},{"url":"https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59","tags":["x_transferred"]},{"url":"https://go.dev/issue/53415","tags":["x_transferred"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":["x_transferred"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0527","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T06:56:12.871Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-02-24T20:38:26.312251Z","id":"CVE-2022-30630","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-06T17:48:19.834Z"}}]}}}