CVE Vulnerabilities

CVE-2022-1962

Uncontrolled Recursion

Published: Aug 10, 2022 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

NameVendorStart VersionEnd Version
GoGolang*1.17.12 (excluding)
GoGolang1.18.0 (including)1.18.4 (excluding)
Application Interconnect 1 for RHEL 8RedHatskupper-cli-0:1.0.2-2.el8*
MTA-6.2-RHEL-8RedHatmta/mta-rhel8-operator:6.2.2-3*
MTA-6.2-RHEL-9RedHatmta/mta-hub-rhel9:6.2.2-2*
MTA-6.2-RHEL-9RedHatmta/mta-operator-bundle:6.2.2-5*
MTA-6.2-RHEL-9RedHatmta/mta-pathfinder-rhel9:6.2.2-2*
MTA-6.2-RHEL-9RedHatmta/mta-ui-rhel9:6.2.2-2*
MTA-6.2-RHEL-9RedHatmta/mta-windup-addon-rhel9:6.2.2-3*
MTA-7.0-RHEL-9RedHatmta/mta-hub-rhel9:7.0.2-9*
Node Maintenance Operator 4.11 for RHEL 8RedHatworkload-availability/node-maintenance-rhel8-operator:v4.11.1-1*
OADP-1.0-RHEL-8RedHatoadp/oadp-velero-rhel8:1.0.4-6*
OCP-Tools-4.12-RHEL-8RedHatjenkins-0:2.426.3.1706515686-3.el8*
OpenShift Custom Metrics Autoscaler 2RedHatcustom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8:2.8.2-143*
Openshift Serveless 1.24RedHatopenshift-serverless-1/client-kn-rhel8:1.3.1-4*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-apiserver-receive-adapter-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-controller-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-in-memory-channel-controller-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-kafka-broker-controller-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-kafka-broker-post-install-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-kafka-broker-webhook-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-mtbroker-filter-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-mtbroker-ingress-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-mtchannel-broker-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-mtping-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-storage-version-migration-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-sugar-controller-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/eventing-webhook-rhel8:1.3.2-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/ingress-rhel8-operator:1.24.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/knative-rhel8-operator:1.24.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/kn-cli-artifacts-rhel8:1.3.1-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/kourier-control-rhel8:1.3.0-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/net-istio-controller-rhel8:1.3.0-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/net-istio-webhook-rhel8:1.3.0-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serverless-operator-bundle:1.24.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serverless-rhel8-operator:1.24.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-activator-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-autoscaler-hpa-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-autoscaler-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-controller-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-domain-mapping-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-domain-mapping-webhook-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-queue-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-storage-version-migration-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/serving-webhook-rhel8:1.3.0-3*
Openshift Serveless 1.24RedHatopenshift-serverless-1/svls-must-gather-rhel8:1.24.0-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1-tech-preview/eventing-kafka-broker-controller-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1-tech-preview/eventing-kafka-broker-dispatcher-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1-tech-preview/eventing-kafka-broker-receiver-rhel8:1.3.2-2*
Openshift Serveless 1.24RedHatopenshift-serverless-1-tech-preview/eventing-kafka-broker-webhook-rhel8:1.3.2-2*
Openshift Serverless 1 on RHEL 8RedHatopenshift-serverless-clients-0:1.3.1-4.el8*
OSSO-1.1-RHEL-8RedHatopenshift-secondary-scheduler-operator/secondary-scheduler-operator-rhel8:v1.1-11*
Red Hat Developer ToolsRedHatgo-toolset-1.17-golang-0:1.17.12-1.el7_9*
Red Hat Enterprise Linux 8RedHatgo-toolset:rhel8-8060020220720230014.97d7f71f*
Red Hat Enterprise Linux 8RedHatgrafana-0:7.5.15-3.el8*
Red Hat Enterprise Linux 8RedHatcontainer-tools:3.0-8070020220802115906.39077419*
Red Hat Enterprise Linux 8RedHatcontainer-tools:rhel8-8080020230321153727.0f77c1b7*
Red Hat Enterprise Linux 8RedHatcontainer-tools:4.0-8080020230217080101.8108cfbc*
Red Hat Enterprise Linux 9RedHatgolang-0:1.17.12-1.el9_0*
Red Hat Enterprise Linux 9RedHatgrafana-0:7.5.15-3.el9*
Red Hat Migration Toolkit for Containers 1.7RedHatrhmtc/openshift-velero-plugin-rhel8:v1.7.6-5*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/istio-cni-rhel8:2.2.2-7*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/istio-rhel8-operator:2.2.2-8*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/pilot-rhel8:2.2.2-7*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/prometheus-rhel8:2.2.2-4*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/proxyv2-rhel8:2.2.2-8*
Red Hat OpenShift Service Mesh 2.2 for RHEL 8RedHatopenshift-service-mesh/ratelimit-rhel8:2.2.2-4*
RHEL-7-CNV-4.12RedHatkubevirt-0:4.12.0-1057.el7*
RHEL-8-CNV-4.12RedHatkubevirt-0:4.12.0-1057.el8*
RHEL-8-CNV-4.12RedHatcontainer-native-virtualization/virt-api:v4.12.0-255*
Golang-1.18Ubuntubionic*
Golang-1.18Ubuntufocal*
Golang-1.18Ubuntujammy*

Potential Mitigations

References