CVE-2022-30635
published 2022-08-10CVE-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…
PriorityP339high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.40%
69.2th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | golang-1.15 | < golang-1.19 1.19~rc2-1 (bookworm) | golang-1.19 1.19~rc2-1 (bookworm) |
| debian | golang-1.15 | — | — |
| debian | golang-1.19 | < golang-1.19 1.19~rc2-1 (bookworm) | golang-1.19 1.19~rc2-1 (bookworm) |
| debian | golang-1.19 | — | — |
| go_standard_library | encoding_gob | < 1.22.7 | 1.22.7 |
| go_standard_library | encoding_gob | >= 1.23.0-0 < 1.23.1 | 1.23.1 |
| golang | go | < 1.17.12 | 1.17.12 |
| golang | go | >= 1.18.0 < 1.18.4 | 1.18.4 |
| msrc | azl3_gcc_13.2.0-7_on_azure_linux_3.0 | — | — |
| msrc | azl3_golang_1.24.3-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_python-tensorboard_2.16.2-6_on_azure_linux_3.0 | — | — |
| msrc | cbl2_golang_1.18.5-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_golang_1.18.5-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Stack exhaustion in Decoder.Decode in encoding/gob
osv·2024-09-06·CVSS 7.5
CVE-2024-34156 [HIGH] Stack exhaustion in Decoder.Decode in encoding/gob
Stack exhaustion in Decoder.Decode in encoding/gob
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
GHSA
GHSA-crqm-pwhx-j97f: Calling Decoder
ghsa_unreviewed·2024-09-06·CVSS 7.5
CVE-2024-34156 [HIGH] GHSA-crqm-pwhx-j97f: Calling Decoder
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
OSV
CVE-2024-34156: Calling Decoder
osv·2024-09-06·CVSS 7.5
CVE-2024-34156 [HIGH] CVE-2024-34156: Calling Decoder
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
OSV
golang-1.13, golang-1.16 vulnerabilities
osv·2024-01-09·CVSS 6.5
CVE-2022-29526 [MEDIUM] golang-1.13, golang-1.16 vulnerabilities
golang-1.13, golang-1.16 vulnerabilities
USN-6038-1 fixed several vulnerabilities in Go 1.18. This update provides
the corresponding updates for Go 1.13 and Go 1.16.
CVE-2022-29526 and CVE-2022-30630 only affected Go 1.16.
Original advisory details:
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-3218
OSV
golang-1.18 vulnerabilities
osv·2023-04-25·CVSS 6.5
CVE-2022-1705 [MEDIUM] golang-1.18 vulnerabilities
golang-1.18 vulnerabilities
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-32189, CVE-2022-41715,
CVE-2022-41717, CVE-2023-24534, CVE-2023-24537)
It was discovered that Go did not properly implemented the maximum size of
file headers in Reader.Read. An attacker could possibly use this issue to
cause a
GHSA
GHSA-5fhx-39r8-3jwh: Uncontrolled recursion in Decoder
ghsa_unreviewed·2022-08-11
CVE-2022-30635 [HIGH] CWE-674 GHSA-5fhx-39r8-3jwh: Uncontrolled recursion in Decoder
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.
OSV
CVE-2022-30635: Uncontrolled recursion in Decoder
osv·2022-08-10·CVSS 7.5
CVE-2022-30635 [HIGH] CVE-2022-30635: Uncontrolled recursion in Decoder
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.
OSV
Stack exhaustion when decoding certain messages in encoding/gob
osv·2022-07-20
CVE-2022-30635 Stack exhaustion when decoding certain messages in encoding/gob
Stack exhaustion when decoding certain messages in encoding/gob
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.
Red Hat
encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion
vendor_redhat·2024-09-06·CVSS 7.5
CVE-2024-34156 [HIGH] CWE-674 encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion
encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
A flaw was found in the encoding/gob package of the Golang standard library. Calling Decoder.Decoding, a message that contains deeply nested structures, can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Statement: This vulnerability in Go's `encoding/gob` package is of high severity because it exposes applications to potential Denial of Service (DoS) attacks through stack exhaustion. Since `gob` relies on recursive function calls to decode nested structures, an a
Ubuntu
Go vulnerabilities
vendor_ubuntu·2024-01-09·CVSS 6.5
CVE-2022-2879 [MEDIUM] Go vulnerabilities
Title: Go vulnerabilities
Summary: Several security issues were fixed in Go.
USN-6038-1 fixed several vulnerabilities in Go 1.18. This update provides
the corresponding updates for Go 1.13 and Go 1.16.
CVE-2022-29526 and CVE-2022-30630 only affected Go 1.16.
Original advisory details:
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022
Debian
CVE-2024-34156: golang-1.15 - Calling Decoder.Decode on a message which contains deeply nested structures can ...
vendor_debian·2024·CVSS 7.5
CVE-2024-34156 [HIGH] CVE-2024-34156: golang-1.15 - Calling Decoder.Decode on a message which contains deeply nested structures can ...
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Scope: local
bullseye: open
Ubuntu
Go vulnerabilities
vendor_ubuntu·2023-04-25·CVSS 6.5
CVE-2022-1962 [MEDIUM] Go vulnerabilities
Title: Go vulnerabilities
Summary: Several security issues were fixed in Go.
It was discovered that the Go net/http module incorrectly handled
Transfer-Encoding headers in the HTTP/1 client. A remote attacker could
possibly use this issue to perform an HTTP Request Smuggling attack.
(CVE-2022-1705)
It was discovered that Go did not properly manage memory under certain
circumstances. An attacker could possibly use this issue to cause a panic
resulting into a denial of service. (CVE-2022-1962, CVE-2022-27664,
CVE-2022-28131, CVE-2022-30630, CVE-2022-30631, CVE-2022-30632,
CVE-2022-30633, CVE-2022-30635, CVE-2022-32189, CVE-2022-41715,
CVE-2022-41717, CVE-2023-24534, CVE-2023-24537)
It was discovered that Go did not properly implemented the maximum size of
file headers in Reader.Read. An
Microsoft
Stack exhaustion when decoding certain messages in encoding/gob
vendor_msrc·2022-08-09·CVSS 7.5
CVE-2022-30635 [HIGH] CWE-674 Stack exhaustion when decoding certain messages in encoding/gob
Stack exhaustion when decoding certain messages in encoding/gob
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Go: Go
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://lea
Red Hat
golang: encoding/gob: stack exhaustion in Decoder.Decode
vendor_redhat·2022-07-12·CVSS 7.5
CVE-2022-30635 [HIGH] CWE-1325 golang: encoding/gob: stack exhaustion in Decoder.Decode
golang: encoding/gob: stack exhaustion in Decoder.Decode
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.
A flaw was found in golang. When calling Decoder, Decode on a message that contains deeply nested structures, a panic can occur due to stack exhaustion and allows an attacker to impact system availability.
Statement: OpenShift Container Platform (OCP) starting from 4.10 stream is already compiled in the patched version of Go, hence is not affected by this vulnerability.The vulnerability has been rated as moderate instead of high because the vulnerability can only result in a minor denial of service.
Package: migration-toolkit-vir
Debian
CVE-2022-30635: golang-1.15 - Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and G...
vendor_debian·2022·CVSS 7.5
CVE-2022-30635 [HIGH] CVE-2022-30635: golang-1.15 - Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and G...
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.
Scope: local
bullseye: open
No detection rules found.
No public exploits indexed.
https://go.dev/cl/417064https://go.dev/issue/53615https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEhttps://pkg.go.dev/vuln/GO-2022-0526https://go.dev/cl/417064https://go.dev/issue/53615https://go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEhttps://pkg.go.dev/vuln/GO-2022-0526
2022-08-10
Published