Vulnerability Details : CVE-2022-30632
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.
Products affected by CVE-2022-30632
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-30632
0.19%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 55 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-30632
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2022-30632
-
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.Assigned by:
- nvd@nist.gov (Primary)
- security@golang.org (Secondary)
References for CVE-2022-30632
-
https://go.dev/issue/53416
path/filepath: stack exhaustion in Glob · Issue #53416 · golang/go · GitHubIssue Tracking;Vendor Advisory
-
https://go.dev/cl/417066
path/filepath: fix stack exhaustion in Glob (I1b9fd4fa) · Gerrit Code ReviewPatch;Vendor Advisory
-
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
[security] Go 1.18.4 and Go 1.17.12 are releasedMailing List;Vendor Advisory
-
https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef
ac68c6c683409f98250d34ad282b9e1b0c9095ef - go - Git at GoogleMailing List;Patch;Vendor Advisory
-
https://pkg.go.dev/vuln/GO-2022-0522
GO-2022-0522 - Go PackagesVendor Advisory
Jump to