Vulnerability in Golang Go
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Path/filepath — versions 0, 1.18.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 9 other repositories (8-cm/kube-dump, agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/cl/417066 (Patch, Vendor Advisory)
- go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef (Patch, Mailing List, Vendor Advisory)
- go.dev/issue/53416 (Issue Tracking, Vendor Advisory)
- groups.google.com/g/golang-announce/c/nqrv9fbR0zE (Mailing List, Vendor Advisory)
- pkg.go.dev/vuln/GO-2022-0522 (Vendor Advisory)