CVE-2022-30635Uncontrolled Recursion in Standard Library Encoding GOB

Severity
7.5HIGHNVD
EPSS
0.1%
top 73.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 10
Latest updateSep 6

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

CVEListV5go_standard_library/encoding_gob1.18.0-01.18.4+3
NVDgolang/go1.18.01.18.4+1

Patches

🔴Vulnerability Details

7
OSV
Stack exhaustion in Decoder.Decode in encoding/gob2024-09-06
OSV
golang-1.13, golang-1.16 vulnerabilities2024-01-09
OSV
golang-1.18 vulnerabilities2023-04-25
GHSA
GHSA-5fhx-39r8-3jwh: Uncontrolled recursion in Decoder2022-08-11
OSV
CVE-2022-30635: Uncontrolled recursion in Decoder2022-08-10

📋Vendor Advisories

6
Red Hat
encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion2024-09-06
Ubuntu
Go vulnerabilities2024-01-09
Ubuntu
Go vulnerabilities2023-04-25
Microsoft
Stack exhaustion when decoding certain messages in encoding/gob2022-08-09
Red Hat
golang: encoding/gob: stack exhaustion in Decoder.Decode2022-07-12
CVE-2022-30635 — Uncontrolled Recursion | cvebase