{"id":"CVE-2022-30635","sourceIdentifier":"security@golang.org","published":"2022-08-10T20:15:42.640","lastModified":"2026-06-17T04:43:59.430","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Una recursión no controlada en el archivo Decoder.Decode en encoding/gob versiones anteriores a Go 1.17.12 y Go 1.18.4, permite a un atacante causar un pánico debido al agotamiento de la pila por medio de un mensaje que contiene estructuras profundamente anidadas"}],"affected":[{"source":"security@golang.org","affectedData":[{"vendor":"Go standard library","product":"encoding/gob","defaultStatus":"unaffected","collectionURL":"https://pkg.go.dev","packageName":"encoding/gob","programRoutines":[{"name":"Decoder.decIgnoreOpFor"},{"name":"Decoder.compileIgnoreSingle"},{"name":"Decoder.compileDec"}],"versions":[{"version":"0","lessThan":"1.17.12","versionType":"semver","status":"affected"},{"version":"1.18.0-0","lessThan":"1.18.4","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-03-06T17:44:14.218881Z","id":"CVE-2022-30635","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-674"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-674"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionEndExcluding":"1.17.12","matchCriteriaId":"646881F6-A299-4D92-A1F3-E95959FA426F"},{"vulnerable":true,"criteria":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionStartIncluding":"1.18.0","versionEndExcluding":"1.18.4","matchCriteriaId":"FE088A2D-7894-4A48-887C-36DD727A7BEB"}]}]}],"references":[{"url":"https://go.dev/cl/417064","source":"security@golang.org","tags":["Patch","Vendor Advisory"]},{"url":"https://go.dev/issue/53615","source":"security@golang.org","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7","source":"security@golang.org","tags":["Mailing List","Patch","Vendor Advisory"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","source":"security@golang.org","tags":["Mailing List","Vendor Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0526","source":"security@golang.org","tags":["Vendor Advisory"]},{"url":"https://go.dev/cl/417064","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"https://go.dev/issue/53615","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Vendor Advisory"]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Vendor Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0526","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]}]}