cve.bz

CVE-2022-1962 golang go: Uncontrolled Recursion

5.5 mediumExploit referenceEPSS 0.9%Fix available

Medium (5.5) in golang go. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.17.12, 1.18.4.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-02-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1962 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1962?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1962?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1962 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Go standard library go/parserbefore 1.17.12
Go standard library go/parserfrom 1.18.0-0 before 1.18.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2022-0515Gostdlib<1.17.12
>=1.18.0-0 <1.18.4
1.17.12, 1.18.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12golang-1.191.19~rc2-1DEBIAN-CVE-2022-1962
Ubuntu18.04:LTSgolang-1.181.18.1-1ubuntu1~18.04.4UBUNTU-CVE-2022-1962 USN-6038-1
Ubuntu20.04:LTSgolang-1.181.18.1-1ubuntu1~20.04.2UBUNTU-CVE-2022-1962 USN-6038-1
Ubuntu22.04:LTSgolang-1.181.18.1-1ubuntu1.1UBUNTU-CVE-2022-1962 USN-6038-1
Red Hatapplication_interconnect:1::el8skupper-cli0:1.0.2-2.el8RHSA-2022:6113
Red Hatcontainer_native_virtualization:4.12::el7kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.12.0-1057.el7RHSA-2023:0407
Red Hatcontainer_native_virtualization:4.12::el8kubevirt, kubevirt-virtctl, kubevirt-virtctl-redistributable0:4.12.0-1057.el8RHSA-2023:0407
Red Hatdevtools:2022go-toolset-1.17, go-toolset-1.17-build, go-toolset-1.17-golang and 8 more0:1.17.12-1.el7_9RHSA-2022:5866
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.5.0-2.module+el8.8.0+18060+3f21f2ccRHSA-2023:2758
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.19.9-6.module+el8.7.0+16212+65e1b35fRHSA-2022:7529
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-5.module+el8.8.0+18083+cd85596bRHSA-2023:2802
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.29.1-1.module+el8.8.0+18195+471da4bbRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamcockpit-podman0:29-2.module+el8.7.0+16212+65e1b35fRHSA-2022:7529
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.8.0+17821+de1b53f1RHSA-2023:2802
Red Hatenterprise_linux:8::appstreamcockpit-podman0:63.1-1.module+el8.8.0+18286+cd236dceRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.0.26-3.module+el8.7.0+16212+65e1b35fRHSA-2022:7529
55 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 8 morego1.171.17.13-150000.1.42.1SUSE-SU-2022:2671-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morego1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Linux Enterprise Module for Development Tools 15 SP4go1.181.18.5-150000.1.25.1SUSE-SU-2022:2672-1
openSUSELeap 15.3, Leap 15.4go1.171.17.13-150000.1.42.1SUSE-SU-2022:2671-1
openSUSELeap 15.3, Leap 15.4go1.181.18.5-150000.1.25.1SUSE-SU-2022:2672-1
openSUSELeap 15.4, Leap 15.5go1.18-openssl1.18.10.1-150000.1.9.1SUSE-SU-2023:2312-1
openSUSETumbleweedgo1.171.17.12-1.1openSUSE-SU-2024:12189-1
openSUSETumbleweedgo1.181.18.4-1.1openSUSE-SU-2024:12190-1
openSUSETumbleweedvelero1.9.2-1.1openSUSE-SU-2024:12492-1
AlmaLinux8aardvark-dns2:1.5.0-2.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8buildah, buildah-tests1.19.9-6.module_el8.7.0+3297+1eb250cfALSA-2022:7529
AlmaLinux8buildah, buildah-tests1:1.24.6-5.module_el8.8.0+3468+16b86c82ALSA-2023:2802
AlmaLinux8buildah, buildah-tests1:1.29.1-1.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8cockpit-podman29-2.module_el8.6.0+2876+9ed4eae2ALSA-2022:7529
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2023:2802
AlmaLinux8cockpit-podman63.1-1.module_el8.8.0+3557+7ba9cc13ALSA-2023:2758
AlmaLinux8conmon2:2.0.26-3.module_el8.7.0+3297+1eb250cfALSA-2022:7529
AlmaLinux8conmon2:2.1.4-1.module_el8.7.0+3344+5bcd850fALSA-2023:2802
AlmaLinux8conmon3:2.1.6-1.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8container-selinux2:2.189.0-1.module_el8.6.0+3336+00d107d5ALSA-2022:7529
AlmaLinux8container-selinux2:2.189.0-1.module_el8.7.0+3297+1eb250cfALSA-2022:7529
62 more for AlmaLinux in the JSON.
Rocky Linux8buildah0:1.19.9-6.module+el8.7.0+1076+9b1c11c1RLSA-2022:7529
Rocky Linux8cockpit-podman0:29-2.module+el8.4.0+556+40122d08RLSA-2022:7529
Rocky Linux8cockpit-podman0:29-2.module+el8.5.0+709+440d5e7eRLSA-2022:7529
Rocky Linux8cockpit-podman0:29-2.module+el8.6.0+783+10209741RLSA-2022:7529
Rocky Linux8cockpit-podman0:29-2.module+el8.7.0+1076+9b1c11c1RLSA-2022:7529
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2023:2802
Rocky Linux8conmon2:2.0.26-3.module+el8.4.0+556+40122d08RLSA-2022:7529
Rocky Linux8conmon2:2.0.26-3.module+el8.7.0+1076+9b1c11c1RLSA-2022:7529
Rocky Linux8container-selinux2:2.189.0-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7529
Rocky Linux8container-selinux2:2.189.0-1.module+el8.7.0+1076+9b1c11c1RLSA-2022:7529
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.4.0+556+40122d08RLSA-2022:7529
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.5.0+709+440d5e7eRLSA-2022:7529
43 more for Rocky Linux in the JSON.
Alpinev3.16, v3.17, v3.18 and 6 morego1.18.4-r0ALPINE-CVE-2022-1962
Azure Linux2golang1.18.5-1AZL-10530
Azure Linux3golangno fix listedAZL-78972 AZL-98724

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Application Interconnect 1 for RHEL 8skupper-cli-0:1.0.2-2.el8Fixed 2022-08-18RHSA-2022:6113
MTA-6.2-RHEL-8mta/mta-rhel8-operator:6.2.2-3Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-hub-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-operator-bundle:6.2.2-5Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-pathfinder-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-ui-rhel9:6.2.2-2Fixed 2024-02-28RHSA-2024:1027
MTA-6.2-RHEL-9mta/mta-windup-addon-rhel9:6.2.2-3Fixed 2024-02-28RHSA-2024:1027
MTA-7.0-RHEL-9mta/mta-hub-rhel9:7.0.2-9Fixed 2024-03-20RHSA-2024:1433
Node Maintenance Operator 4.11 for RHEL 8workload-availability/node-maintenance-rhel8-operator:v4.11.1-1Fixed 2022-08-25RHSA-2022:6188
OADP-1.0-RHEL-8oadp/oadp-velero-rhel8:1.0.4-6Fixed 2022-09-13RHSA-2022:6430
Builds for Red Hat OpenShiftopenshift-builds/openshift-builds-waiters-rhel8Not affected
cert-manager Operator for Red Hat OpenShiftcert-manager-operator-containerNot affected
Cost Management Metrics Operatorcostmanagement/costmanagement-metrics-rhel8-operatorNot affected
Cryostat 2cryostat-tech-preview/cryostat-rhel8-operatorFix deferred
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel8-operatorAffected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Logical Volume Manager Storagelvms4/topolvm-rhel9Not affected
Machine Deletion Remediation Operatorworkload-availability/machine-deletion-remediation-rhel8-operatorNot affected
Migration Toolkit for Containersrhmtc/openshift-migration-registry-rhel8Will not fix
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-api-rhel9Not affected
114 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1962.

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON