Vulnerability Details : CVE-2022-30630
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.
Products affected by CVE-2022-30630
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
- cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-30630
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-30630
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-30630
-
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-30630
-
https://go.dev/issue/53415
io/fs: stack exhaustion in Glob · Issue #53415 · golang/go · GitHubIssue Tracking;Vendor Advisory
-
https://go.dev/cl/417065
io/fs: fix stack exhaustion in Glob (I5a9d0259) · Gerrit Code ReviewPatch;Vendor Advisory
-
https://go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
fa2d41d0ca736f3ad6b200b2a4e134364e9acc59 - go - Git at GoogleMailing List;Patch;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://pkg.go.dev/vuln/GO-2022-0527
GO-2022-0527 - Go PackagesVendor Advisory
Jump to