CVE-2022-30633
golang: encoding/xml: stack exhaustion in Unmarshal
Overview
Description
Uncontrolled recursion in Unmarshal in encoding/xml before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via unmarshalling an XML document into a Go struct which has a nested field that uses the 'any' field tag.
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
Operating systems · 236 fixes
Oracle Linux 2 releases · 23 packages
fixed 25
udica
fuse-overlayfs
golang
go-toolset
slirp4netns
oci-seccomp-bpf-hook
+17
| Release | Package | Fixed 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 |
19 more rows
Photon OS 2 releases · 3 packages
fixed 3
go
kubernetes-dashboard
falco
| Release | Package | Fixed 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 · 27 packages
eol 2
fixed 61
wont fix 2
heketi
golang
go-toolset-1-17
osbuild-composer
grafana
toolbox
+21
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| heketi +4 | eol | — | |
| 7 | golang +2 | eol | — |
| 7 | go-toolset-1-17 +10 | 0:1.17.12-1.el7_9 | RHSA-2022:5866 |
| 8 | osbuild-composer +3 | wont fix | — |
| 8 | grafana | 0:7.5.15-3.el8 | RHSA-2022:7519 |
| 8 (container-tools:3.0) | toolbox +1 | 0:0.0.99.3-1.module+el8.7.0+16212+65e1b35f | RHSA-2022:7529 |
59 more rows
SUSE Linux Enterprise 1 release · 3 packages
fixed 3
go1-17
go1-18-openssl
go1-18
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 6 releases · 24 packages
fixed 60
grafana
toolbox
crun
udica
containernetworking-plugins
runc
+18
| Release | Package | Fixed in |
|---|---|---|
| 8 | grafana | 7.5.15-3.el8 |
| 8 (container-tools:3.0) | toolbox +1 | 0.0.99.3-1.module_el8.6.0+2876+9ed4eae2 |
| 8 (container-tools:3.0) | crun | 0.18-3.module_el8.6.0+2876+9ed4eae2 |
| 8 (container-tools:3.0) | udica | 0.2.4-1.module_el8.6.0+2876+9ed4eae2 |
| 8 (container-tools:3.0) | containernetworking-plugins | 0.9.1-1.module_el8.6.0+2876+9ed4eae2 |
| 8 (container-tools:3.0) | runc | 1.0.0-73.rc95.module_el8.6.0+2876+9ed4eae2 |
54 more rows
alpine 4 releases · 1 package
fixed 4
go
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | 1.19~rc2-1 |
openSUSE 1 release · 2 packages
fixed 2
go1-17
go1-18
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 5 releases · 19 packages
fixed 56
go-toolset
grafana
toolbox
crun
udica
containernetworking-plugins
+13
| Release | Package | Fixed in |
|---|---|---|
| 8 | go-toolset +7 | 1.17.12-1.module+el8.6.0+993+4fde2340 |
| 8 | grafana | 7.5.15-3.el8 |
| 8 (container-tools:3.0) | toolbox +1 | 0.0.99.3-1.module+el8.5.0+734+8397cf81 |
| 8 (container-tools:3.0) | toolbox +1 | 0.0.99.3-1.module+el8.6.0+783+10209741 |
| 8 (container-tools:3.0) | toolbox +1 | 0.0.99.3-1.module+el8.7.0+1076+9b1c11c1 |
| 8 (container-tools:3.0) | crun | 0.18-3.module+el8.6.0+783+10209741 |
50 more rows
root.io debian 1 release · 1 package
fixed 1
rootio-golang-1-19
| Release | Package | Fixed 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
| Release | Package | Fixed 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
- access.redhat.com https://access.redhat.com/errata/RHSA-2022:8057
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-30633
- bugzilla.redhat.com https://bugzilla.redhat.com/2044628
- bugzilla.redhat.com https://bugzilla.redhat.com/2045880
- bugzilla.redhat.com https://bugzilla.redhat.com/2050648
- bugzilla.redhat.com https://bugzilla.redhat.com/2050742
- bugzilla.redhat.com https://bugzilla.redhat.com/2050743
- bugzilla.redhat.com https://bugzilla.redhat.com/2065290
- bugzilla.redhat.com https://bugzilla.redhat.com/2107342
- bugzilla.redhat.com https://bugzilla.redhat.com/2107371
Show all 51 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2107374
- bugzilla.redhat.com https://bugzilla.redhat.com/2107376
- bugzilla.redhat.com https://bugzilla.redhat.com/2107383
- bugzilla.redhat.com https://bugzilla.redhat.com/2107386
- bugzilla.redhat.com https://bugzilla.redhat.com/2107388
- bugzilla.redhat.com https://bugzilla.redhat.com/2107390
- bugzilla.redhat.com https://bugzilla.redhat.com/2107392
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2045880
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2085361
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107342
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107371
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107374
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107376
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107383
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107390
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2107392
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1705
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1708
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1962
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21698
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28131
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30630
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30631
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30632
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30633
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32148
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2022-8057.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2022:7529
- github.com https://github.com/golang/go/commit/2924ced71d16297320e8ff18829c2038e6ad8d9b (1.18)
- go.dev https://go.dev/cl/417061
- go.dev https://go.dev/issue/53611
- go.googlesource.com https://go.googlesource.com/go/+/c4c1993fd2a5b26fe45c09592af6d3388a3b2e08
- groups.google.com https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-30633.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-2802.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-30633
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0523
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6038-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-30633
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.