CVE-2022-30635
Public on
Last Modified:
Description
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.
Additional Information
- This content is not included.Bugzilla 2107388: golang: encoding/gob: stack exhaustion in Decoder.Decode
- Content from cwe.mitre.org is not included.CWE-1325: Improperly Controlled Sequential Memory Allocation
- FAQ: Frequently asked questions about CVE-2022-30635
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2022-30635
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2022-30635
Content from go.dev is not included.https://go.dev/issue/53615
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-controller-rhel9 | Affected | |
| OADP-1.1-RHEL-8 | oadp/oadp-velero-rhel8 | Fixed | RHSA-2022:8634 |
| OSSO-1.1-RHEL-8 | openshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8 | Fixed | RHSA-2022:6152 |
| OpenShift Custom Metrics Autoscaler 2 | custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8 | Fixed | RHSA-2023:1042 |
| OpenShift Developer Tools and Services | odo | Affected | |
| OpenShift Pipelines | openshift-pipelines-client | Affected | |
| Openshift Serveless 1.24 | openshift-serverless-1-tech-preview/eventing-kafka-broker-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1-tech-preview/eventing-kafka-broker-dispatcher-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1-tech-preview/eventing-kafka-broker-receiver-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1-tech-preview/eventing-kafka-broker-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/client-kn-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-in-memory-channel-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-post-install-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-kafka-broker-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-mtbroker-filter-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-mtbroker-ingress-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-mtchannel-broker-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-mtping-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-storage-version-migration-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-sugar-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/eventing-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/ingress-rhel8-operator | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/kn-cli-artifacts-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/knative-rhel8-operator | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/kourier-control-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/net-istio-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/net-istio-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serverless-operator-bundle | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serverless-rhel8-operator | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-activator-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-autoscaler-hpa-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-autoscaler-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-controller-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-domain-mapping-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-domain-mapping-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-queue-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-storage-version-migration-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/serving-webhook-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serveless 1.24 | openshift-serverless-1/svls-must-gather-rhel8 | Fixed | RHSA-2022:6040 |
| Openshift Serverless 1 on RHEL 8 | openshift-serverless-clients | Fixed | RHSA-2022:6042 |
| RHEL-7-CNV-4.12 | kubevirt | Fixed | RHSA-2023:0407 |
| RHEL-8-CNV-4.12 | kubevirt | Fixed | RHSA-2023:0407 |
| RHEL-8-CNV-4.12 | container-native-virtualization/virt-api | Fixed | RHSA-2023:0408 |
| RHODF-4.13-RHEL-9 | odf4/mcg-rhel9-operator | Fixed | RHSA-2023:3742 |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/gatekeeper-rhel8-operator | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/subctl-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/volsync-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/work-rhel8 | Affected | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | openshift-clients | Affected | |
| Red Hat Ceph Storage 3 | golang | Out of support scope | |
| Red Hat Ceph Storage 5 | rhceph/rhceph-5-dashboard-rhel8 | Affected | |
| Red Hat Ceph Storage 6.1 | rhceph/rhceph-6-dashboard-rhel9 | Fixed | RHSA-2023:3642 |
| Red Hat Developer Tools | go-toolset-1.17-golang | Fixed | RHSA-2022:5866 |
| Red Hat Enterprise Linux 8 | container-tools:3.0/containernetworking-plugins | Affected | |
| Red Hat Enterprise Linux 8 | go-toolset:rhel8 | Fixed | RHSA-2022:5775 |
| Red Hat Enterprise Linux 8 | git-lfs | Fixed | RHSA-2022:7129 |
| Red Hat Enterprise Linux 8 | grafana | Fixed | RHSA-2022:7519 |
| Red Hat Enterprise Linux 8 | grafana-pcp | Fixed | RHSA-2022:7648 |
| Red Hat Enterprise Linux 8 | container-tools:rhel8 | Fixed | RHSA-2023:2758 |
| Red Hat Enterprise Linux 8 | container-tools:4.0 | Fixed | RHSA-2023:2802 |
| Red Hat Enterprise Linux 8 | osbuild-composer | Will not fix | |
| Red Hat Enterprise Linux 9 | go-toolset | Affected | |
| Red Hat Enterprise Linux 9 | golang | Fixed | RHSA-2022:5799 |
| Red Hat Enterprise Linux 9 | grafana | Fixed | RHSA-2022:8057 |
| Red Hat Enterprise Linux 9 | grafana-pcp | Fixed | RHSA-2022:8250 |
| Red Hat Enterprise Linux 9 | git-lfs | Fixed | RHSA-2023:2357 |
| Red Hat Enterprise Linux 9 | containernetworking-plugins | Will not fix | |
| Red Hat Enterprise Linux 9 | osbuild-composer | Will not fix | |
| Red Hat Migration Toolkit for Containers 1.7 | rhmtc/openshift-velero-plugin-rhel8 | Fixed | RHSA-2022:9047 |
| Red Hat OpenShift Container Platform 4 | openshift-golang-builder-container | Not affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/gitops-rhel8 | Affected | |
| Red Hat OpenShift GitOps | openshift-gitops-kam | Affected | |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/istio-cni-rhel8 | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/istio-rhel8-operator | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/pilot-rhel8 | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/prometheus-rhel8 | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/proxyv2-rhel8 | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/ratelimit-rhel8 | Fixed | RHSA-2022:6283 |
| Red Hat OpenShift distributed tracing 2 | rhosdt/jaeger-agent-rhel8 | Not affected | |
| Red Hat OpenStack Platform 16.1 | etcd | Fixed | RHSA-2023:1275 |
| Red Hat OpenStack Platform 16.2 | etcd | Fixed | RHSA-2023:1275 |
| Red Hat OpenStack Platform 16.2 | rhosp-rhel8-tech-preview/osp-director-operator | Will not fix | |
| Red Hat Openshift Data Foundation 4 | mcg | Affected | |
| Red Hat Openshift Data Foundation 4 | odf4/cephcsi-rhel9 | Affected | |
| Red Hat Quay 3 | quay/clair-rhel8 | Affected | |
| Red Hat Software Collections | rh-git227-git-lfs | Will not fix | |
| Red Hat Storage 3 | heketi | Out of support scope | |
| Red Hat Storage 3 | go-toolset-7-golang | Will not fix | |
| Red Hat Storage 3 | golang | Will not fix | |
| Red Hat Web Terminal | web-terminal-exec-container | Affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | 7.5 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | None | None |
| Availability Impact | High | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.