Skip to content
Fencer Vulns
medium 4.3

CVE-2024-34155 json

Stack exhaustion in all Parse functions in go/parser

published 2024-09-06 2 y ago modified 2026-06-17 4 mo ago also BIT-golang-2024-34155 , EUVD-2024-34664 , GO-2024-3105

cvss
4.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 58%
public exploits
0
none known

Summary

Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.

Patch / fix

  • bitnami golang 1.22.7, 1.23.1
  • go stdlib 1.22.7, 1.23.1
  • Go standard library go/parser 1.22.7, 1.23.1
  • golang-1.17 Ubuntu 22.04 LTS 1.17.13-3ubuntu1.3
  • golang-1.18 Ubuntu 20.04 LTS 1.18.1-1ubuntu1~20.04.3
  • golang-1.18 Ubuntu 22.04 LTS 1.18.1-1ubuntu1.2
  • golang-1.22 Ubuntu 20.04 LTS 1.22.2-2~20.04.2
  • golang-1.22 Ubuntu 22.04 LTS 1.22.2-2~22.04.2
  • golang-1.22 Ubuntu 24.04 LTS 1.22.2-2ubuntu0.3
  • golang-1.18 Ubuntu Pro 16.04 LTS 1.18.1-1ubuntu1~16.04.6+esm1
  • golang-1.18 Ubuntu Pro 18.04 LTS 1.18.1-1ubuntu1~18.04.4+esm1

ubuntu advisories UBUNTU-CVE-2024-34155

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cri-o openshift 4.14 1.27.8-12.rhaos4.14.git7597c43.el8
  • cri-o openshift 4.14 1.27.8-12.rhaos4.14.git7597c43.el9
  • podman openshift 4.14 3:4.4.1-21.rhaos4.14.el8
  • podman openshift 4.14 3:4.4.1-21.rhaos4.14.el9
  • skopeo openshift 4.14 2:1.11.3-4.rhaos4.14.el8
  • skopeo openshift 4.14 2:1.11.3-4.rhaos4.14.el9
  • podman-tests openshift 4.14 3:4.4.1-21.rhaos4.14.el8
  • podman-tests openshift 4.14 3:4.4.1-21.rhaos4.14.el9

red hat advisories RHSA-2024:8700RHSA-2024:9459RHSA-2024:8694RHSA-2024:9454RHSA-2024:8690RHSA-2024:8428

  • go1.22-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.22.7.1-150600.13.3.1
  • go1.23-openssl SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 1.23.2.2-150600.13.3.1
  • go1.21-openssl SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.21.13.4-150000.1.14.1
  • go1.23-openssl SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.23.2.2-150000.1.3.1
  • go1.22-openssl SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 1.22.7.1-150000.1.3.1
  • kubernetes1.24 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 1.24.17-150400.9.18.1
  • kubernetes1.24 SLE Module for Containers 15 SP5, openSUSE Leap 15.6, openSUSE Leap 15.5 1.24.17-150500.3.24.1
  • kubernetes1.24 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 1.24.17-150300.7.9.1

suse advisories SUSE-SU-2024:3938-1SUSE-SU-2024:3937-1SUSE-SU-2024:3809-1SUSE-SU-2024:3773-1SUSE-SU-2024:3772-1SUSE-SU-2024:3458-1

  • trivy Package Hub 15 SP6, openSUSE Leap 15.6 0.58.2-bp156.2.6.1
  • trivy openSUSE Tumbleweed 0.56.1-1.1
  • go1.23 openSUSE Tumbleweed 1.23.1-1.1
  • go1.22 openSUSE Tumbleweed 1.22.7-1.1

opensuse advisories openSUSE-SU-2025:0056-1openSUSE-SU-2024:14392-1openSUSE-SU-2024:14324-1openSUSE-SU-2024:14323-1

  • podman AlmaLinux 9 4:5.2.2-9.el9_5
  • podman-tests AlmaLinux 9 4:5.2.2-9.el9_5
  • podman-docker AlmaLinux 9 4:5.2.2-9.el9_5
  • podman-remote AlmaLinux 9 4:5.2.2-9.el9_5
  • podman-plugins AlmaLinux 9 4:5.2.2-9.el9_5
  • buildah AlmaLinux 9 2:1.37.5-1.el9_5
  • buildah-tests AlmaLinux 9 2:1.37.5-1.el9_5
  • buildah AlmaLinux 9 2:1.33.9-1.el9_4

almalinux advisories ALSA-2024:9454ALSA-2024:9459ALSA-2024:8112ALSA-2024:8038ALSA-2024:8039ALSA-2024:6908

  • podman Rocky Linux 9 4:4.9.4-13.el9_4
  • criu Rocky Linux 8 3.18-5.module+el8.10.0+1815+5fe7415e
  • crun Rocky Linux 8 1.14.3-2.module+el8.10.0+1815+5fe7415e
  • runc Rocky Linux 8 1:1.1.12-5.module+el8.10.0+1874+ce489889
  • udica Rocky Linux 8 0.2.6-21.module+el8.10.0+1815+5fe7415e
  • conmon Rocky Linux 8 3:2.1.10-1.module+el8.10.0+1815+5fe7415e
  • podman Rocky Linux 8 4:4.9.4-13.module+el8.10.0+1871+e6fa1069
  • skopeo Rocky Linux 8 2:1.14.5-3.module+el8.10.0+1843+6892ab28

rocky linux advisories RLSA-2024:8039RLSA-2024:8038RLSA-2024:6913RLSA-2024:6908

  • go Alpine 3.20 1.22.7-r0
  • go Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 1.23.1-r0

alpine advisories ALPINE-CVE-2024-34155

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • golang CBL-Mariner 2.0 1.18.8-8

azure linux advisories AZL-48896

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-34155 updated cvss 5.9

go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion

  • Red Hat Builds for Red Hat OpenShift openshift-builds/openshift-builds-waiters-rhel8 Red Hat cert-manager Operator for Red Hat OpenShift cert-manager/cert-manager-operator-rhel9
    affected: workaround, no fix available
  • Red Hat Fence Agents Remediation Operator workload-availability/fence-agents-remediation-rhel8-operator Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel8-operator Red Hat Migration Toolkit for Applications 7 mta/mta-cli-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-api-rhel9 Red Hat Multicluster Engine for Kubernetes multicluster-engine/hive-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat NBDE Tang Server tang-operator-container Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel8-operator Red Hat Node Maintenance Operator workload-availability/node-maintenance-rhel8-operator Red Hat OpenShift Serverless openshift-serverless-clients, openshift-serverless-1/client-kn-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Power monitoring for Red Hat OpenShift kepler-container Red Hat 3scale API Management Platform 2 3scale-amp2/3scale-rhel7-operator Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/subctl-rhel9
    affected: workaround, no fix available
  • Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Ansible Automation Platform 2 receptor
    affected: workaround, no fix available
  • Red Hat Ceph Storage 6 rhceph/rhceph-6-dashboard-rhel9
    affected: workaround, no fix planned “Will not fix”
show 20 more
  • Red Hat Connectivity Link 1 rhcl-1/authorino-container
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 8 osbuild-composer, osbuild-composer-core, osbuild-composer-worker, osbuild-composer-dnf-json
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 grafana, grafana-selinux, osbuild-composer, osbuild-composer-core, opentelemetry-collector, osbuild-composer-worker, +1 more
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat OpenShift Container Platform 4 prometheus-promu, openshift-prometheus-promu, golang-github-prometheus-promu Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift Data Science (RHODS) rhods/odh-rhel8-operator Red Hat OpenShift distributed tracing 3 rhosdt/tempo-gateway-rhel8
    affected: workaround, no fix available
  • Red Hat OpenShift GitOps openshift-gitops-1/gitops-rhel8
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Openshift Sandboxed Containers openshift-sandboxed-containers/osc-rhel8-operator Red Hat OpenShift Virtualization 4 openshift-golang-builder-container
    affected: workaround, no fix available
  • Red Hat OpenStack Platform 17.1 etcd
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Storage 3 golang, heketi, golang-bin, golang-src, golang-misc, golang-tests, +2 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Self Node Remediation Operator workload-availability/self-node-remediation-rhel8-operator
    affected: workaround, no fix available
  • Red Hat Cost Management Metrics Operator 3.3.2 costmanagement
    fixed: vendor fix RHSA-2024:10895
  • Red Hat Cryostat 3 on RHEL 8 cryostat-tech-preview/cryostat-rhel8 3.0.1-5, cryostat-tech-preview/cryostat-db-rhel8 3.0.1-5, cryostat-tech-preview/jfr-datasource-rhel8 3.0.1-5, cryostat-tech-preview/cryostat-reports-rhel8 3.0.1-5, cryostat-tech-preview/cryostat-storage-rhel8 3.0.1-5, cryostat-tech-preview/cryostat-rhel8-operator 3.0.1-5, +3 more
    fixed: vendor fix RHSA-2024:8329
  • Red Hat KDO 5.0 for RHEL 9 kube-descheduler-operator/descheduler-rhel9 v5.0-45, kube-descheduler-operator/kube-descheduler-rhel9-operator v5.0-42
    fixed: vendor fix RHSA-2024:8704
  • Red Hat NETOBSERV 1.7 for RHEL 9 network-observability/network-observability-cli-rhel9 v1.7.0-67, network-observability/network-observability-operator-bundle 1.7.0-86, network-observability/network-observability-rhel9-operator v1.7.0-67, network-observability/network-observability-ebpf-agent-rhel9 v1.7.0-67, network-observability/network-observability-console-plugin-rhel9 v1.7.0-67, network-observability/network-observability-flowlogs-pipeline-rhel9 v1.7.0-67
    fixed: vendor fix RHSA-2024:8014
  • Red Hat OpenShift API for Data Protection 1.3 oadp/oadp-velero-rhel9 1.3.4-10
    fixed: vendor fix RHSA-2024:9960
  • Red Hat OpenShift API for Data Protection 1.4 oadp/oadp-velero-rhel9 1.4.2-11
    fixed: vendor fix RHSA-2025:0771
  • Red Hat OSSO 1.2 for RHEL 9 openshift-secondary-scheduler-operator/secondary-scheduler-rhel9-operator v1.2-47
    fixed: vendor fix RHSA-2024:8219
  • Red Hat Ceph Storage 5.3 Tools rhceph/rhceph-5-rhel8 5-535, rhceph/keepalived-rhel8 2.1.5-44, rhceph/snmp-notifier-rhel8 1.2.1-88, rhceph/rhceph-5-dashboard-rhel8 5-97, rhceph/rhceph-haproxy-rhel8 2.2.19-45
    fixed: vendor fix RHBA-2025:1479
  • Red Hat Ceph Storage 7.1 Tools rhceph/rhceph-7-rhel9 7-493, rhceph/ceph-nvmeof-cli-rhel9 1.2.19-1, rhceph/grafana-rhel9 10.4.8-1740412443, rhceph/rhceph-promtail-rhel9 v3.0.0-14, rhceph/keepalived-rhel9 2.2.8-1740412056, rhceph/snmp-notifier-rhel9 1.2.1-1740411201, +1 more
    fixed: vendor fix RHBA-2025:1772
  • Red Hat Ceph Storage 8.1 Tools rhceph/rhceph-8-rhel9 8-492, rhceph/grafana-rhel9 11.5.2-6, rhceph/keepalived-rhel9 2.2.8-65, rhceph/oauth2-proxy-rhel9 v7.6.0-27, rhceph/snmp-notifier-rhel9 1.2.1-115, rhceph/rhceph-haproxy-rhel9 2.4.22-67, +1 more
    fixed: vendor fix RHSA-2025:9776

19 more fixed, 24 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CNA 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
OSV 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Affected packages

ecosystem package affected fixed in
bitnami golang
<1.22.7
>=1.23.0-0, <1.23.1
1.22.7
1.23.1
go stdlib
<1.22.7
>=1.23.0-0, <1.23.1
1.22.7
1.23.1

Affected products

  • Go standard library go/parser

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.