Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-30635

golang: encoding/gob: stack exhaustion in Decoder.Decode

Overview

Published
10 Aug 2022
Modified
17 Jun 2026
High CVE
2 Registry packages
97 OS packages
13 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-674

Affected packages · 2

Packages affected by CVE-2022-30635
EcosystemPackageVulnerableFixed in
Bitnami golang <1.17.12>=1.18.0, <1.18.4 1.17.121.18.4
Go stdlib <1.17.12>=1.18.0-0, <1.18.4 1.17.121.18.4

Open a package to see all its vulnerabilities.

Operating systems · 177 fixes

Oracle Linux 2 releases · 25 packages

fixed 29
udica fuse-overlayfs golang go-toolset slirp4netns oci-seccomp-bpf-hook +19
Oracle Linux fixes for CVE-2022-30635
ReleasePackageFixed in
8 udica 0.2.6-20.module+el8.8.0+21045+adcb6a64
8 fuse-overlayfs 1.10-1.module+el8.8.0+21045+adcb6a64
8 golang +6 1.18.8-1.0.1.module+el8.7.0+20882+f24d347b
8 go-toolset 1.18.8-1.module+el8.7.0+20882+f24d347b
8 slirp4netns 1.2.0-2.module+el8.8.0+21045+adcb6a64
8 oci-seccomp-bpf-hook 1.2.8-1.module+el8.8.0+21045+adcb6a64

23 more rows

Photon OS 2 releases · 3 packages

fixed 3
go kubernetes-dashboard falco
Photon OS fixes for CVE-2022-30635
ReleasePackageFixed in
4.0 go 1.19-1.ph4
4.0 kubernetes-dashboard 2.7.0-1.ph4
5.0 falco 0.32.2-6.0601037001.ph5

Red Hat 8 releases · 32 packages

eol 2 wont fix 5 fixed 50
heketi go-toolset-7-golang golang rh-git227-git-lfs go-toolset-1-17 osbuild-composer +26
Red Hat fixes for CVE-2022-30635
ReleasePackageFixed inAdvisory
heketi +2 eol —
go-toolset-7-golang +9 wont fix —
7 golang +2 eol —
7 rh-git227-git-lfs wont fix —
7 go-toolset-1-17 +10 0:1.17.12-1.el7_9 RHSA-2022:5866
8 osbuild-composer +3 wont fix —

51 more rows

SUSE Linux Enterprise 1 release · 3 packages

fixed 3
go1-17 go1-18-openssl go1-18
SUSE Linux Enterprise fixes for CVE-2022-30635
ReleasePackageFixed inAdvisory
15.4 go1-17 +2 1.17.13-150000.1.42.1 SUSE-SU-2022:2671-1
15.4 go1-18-openssl +2 1.18.10.1-150000.1.9.1 SUSE-SU-2023:2312-1
15.4 go1-18 +2 1.18.5-150000.1.25.1 SUSE-SU-2022:2672-1

alma 5 releases · 26 packages

fixed 48
git-lfs grafana-pcp grafana toolbox udica slirp4netns +20
alma fixes for CVE-2022-30635
ReleasePackageFixed in
8 git-lfs 2.13.3-3.el8_6
8 grafana-pcp 3.2.0-2.el8
8 grafana 7.5.15-3.el8
8 (container-tools:4.0) toolbox +1 0.0.99.3-7.module_el8.8.0+3468+16b86c82
8 (container-tools:4.0) udica 0.2.6-3.module_el8.6.0+2886+d33c3efb
8 (container-tools:4.0) slirp4netns 1.1.8-2.module_el8.6.0+2877+8e437bf5

42 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2022-30635
ReleasePackageFixed in
3.22 go 1.18.4-r0
3.23 go 1.18.4-r0
3.24 go 1.18.4-r0
edge go 1.18.4-r0

amazon linux 1 release · 3 packages

fixed 3
golist golang compat-golang-github-cpuguy83-md2man-2-devel
amazon linux fixes for CVE-2022-30635
ReleasePackageFixed in
2023 golist +2 0.10.1-11.amzn2023.0.3
2023 golang +7 1.19.3-2.amzn2023.0.2
2023 compat-golang-github-cpuguy83-md2man-2-devel +4 2.0.2-22.amzn2023.0.2

debian 3 releases · 3 packages

affected 2 fixed 1
golang-1-11 golang-1-15 golang-1-19
debian fixes for CVE-2022-30635
ReleasePackageFixed in
10 golang-1-11 affected
11 golang-1-15 affected
12 golang-1-19 1.19~rc2-1

echo 1 release · 1 package

fixed 1
golang-1-19
echo fixes for CVE-2022-30635
ReleasePackageFixed in
golang-1-19 1.19~rc2-1

openSUSE 1 release · 2 packages

fixed 2
go1-17 go1-18
openSUSE fixes for CVE-2022-30635
ReleasePackageFixed inAdvisory
Tumbleweed go1-17 +2 1.17.12-1.1 openSUSE-SU-2024:12189-1
Tumbleweed go1-18 +2 1.18.4-1.1 openSUSE-SU-2024:12190-1

rocky 4 releases · 9 packages

fixed 13
go-toolset git-lfs grafana-pcp grafana oci-seccomp-bpf-hook crit +3
rocky fixes for CVE-2022-30635
ReleasePackageFixed in
8 go-toolset +7 1.17.12-1.module+el8.6.0+993+4fde2340
8 git-lfs 2.13.3-3.el8_6
8 grafana-pcp 3.2.0-2.el8
8 grafana 7.5.15-3.el8
8 (container-tools:4.0) oci-seccomp-bpf-hook 1.2.5-2.module+el8.9.0+1445+07728297
8 (container-tools:4.0) crit +4 3.15-3.module+el8.9.0+1445+07728297

7 more rows

root.io debian 1 release · 1 package

fixed 1
rootio-golang-1-19
root.io debian fixes for CVE-2022-30635
ReleasePackageFixed in
12 rootio-golang-1-19 1.19~rc2-1

ubuntu 5 releases · 3 packages

fixed 10
golang-1-18 golang-1-13 golang-1-16
ubuntu fixes for CVE-2022-30635
ReleasePackageFixed in
18.04 golang-1-18 1.18.1-1ubuntu1~18.04.4
18.04-ESM golang-1-13 1.13.8-1ubuntu1~18.04.4+esm1
18.04-ESM golang-1-16 1.16.2-0ubuntu1~18.04.2+esm1
20.04 golang-1-13 1.13.8-1ubuntu1.2
20.04 golang-1-16 1.16.2-0ubuntu1~20.04.1
20.04 golang-1-18 1.18.1-1ubuntu1~20.04.2

4 more rows

References

Show all 38 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.