Vulnerability in Golang Go
CVE-2022-30635
Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.
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.019, 80.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Encoding/gob — versions 0, 1.18.0-0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 11 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/417064 (Patch, Vendor Advisory)
- go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7 (Patch, Mailing List, Vendor Advisory)
- go.dev/issue/53615 (Issue Tracking, Vendor Advisory)
- groups.google.com/g/golang-announce/c/nqrv9fbR0zE (Mailing List, Vendor Advisory)
- pkg.go.dev/vuln/GO-2022-0526 (Vendor Advisory)