CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in go standard library encoding/gob. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.22.7, 1.23.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hstdlib (Go): fixed in 1.22.7, 1.23.1Explain CVE-2024-34156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-34156?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-34156?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-2024-34156 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Go standard library encoding/gob | before 1.22.7 |
| Go standard library encoding/gob | from 1.23.0-0 before 1.23.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2024-3106 | Go | stdlib | <1.22.7 >=1.23.0-0 <1.23.1 | 1.22.7, 1.23.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | golang-1.19 | no fix listed | DEBIAN-CVE-2024-34156 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.20 and 1 more | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 20.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.3 | UBUNTU-CVE-2024-34156 USN-7109-1 |
| Ubuntu | 20.04:LTS | golang-1.22 | 1.22.2-2~20.04.2 | UBUNTU-CVE-2024-34156 USN-7081-1 |
| Ubuntu | 22.04:LTS | golang-1.17 | 1.17.13-3ubuntu1.3 | UBUNTU-CVE-2024-34156 USN-7111-1 |
| Ubuntu | 22.04:LTS | golang-1.18 | 1.18.1-1ubuntu1.2 | UBUNTU-CVE-2024-34156 USN-7109-1 |
| Ubuntu | 22.04:LTS | golang-1.20, golang-1.21 | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 22.04:LTS | golang-1.22 | 1.22.2-2~22.04.2 | UBUNTU-CVE-2024-34156 USN-7081-1 |
| Ubuntu | 24.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2024-34156 |
| Ubuntu | 24.04:LTS | golang-1.22 | 1.22.2-2ubuntu0.3 | UBUNTU-CVE-2024-34156 USN-7081-1 |
| 5 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::appstream | aardvark-dns | 2:1.10.1-2.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 2:1.33.8-4.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:84.1-1.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 3:2.1.10-1.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.229.0-2.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | containernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource | 1:1.4.0-5.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | containers-common | 2:1-82.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | crit, criu, criu-libs and 5 more | 0:3.18-5.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | crun, crun-debuginfo, crun-debugsource | 0:1.14.3-2.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | delve, delve-debuginfo, delve-debugsource | 0:1.21.2-4.module+el8.10.0+22329+6cd5c9c6 | RHSA-2024:6908 |
| Red Hat | enterprise_linux:8::appstream | fuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource | 0:1.13-1.module+el8.10.0+22346+28c02849 | RHSA-2024:8038 |
| Red Hat | enterprise_linux:8::appstream | git-lfs, git-lfs-debuginfo, git-lfs-debugsource | 0:3.4.1-3.el8_10 | RHSA-2024:7135 |
| 181 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | kubernetes1.24 | 1.24.17-150300.7.9.1 | SUSE-SU-2024:3459-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Containers 15 SP5 and 3 more | kubernetes1.25 | 1.25.16-150400.9.18.1 | SUSE-SU-2024:3457-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Containers 15 SP5 and 3 more | kubernetes1.26 | 1.26.15-150400.9.16.1 | SUSE-SU-2024:3456-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Containers 15 SP5 and 3 more | kubernetes1.27 | 1.27.16-150400.9.12.1 | SUSE-SU-2024:3455-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Containers 15 SP5 and 3 more | kubernetes1.28 | 1.28.13-150400.9.10.1 | SUSE-SU-2024:3454-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 more | kubernetes1.24 | 1.24.17-150400.9.18.1 | SUSE-SU-2024:3458-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP5 | kubernetes1.24 | 1.24.17-150500.3.24.1 | SUSE-SU-2024:3453-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP5 | go1.21-openssl | 1.21.13.4-150000.1.14.1 | SUSE-SU-2024:3809-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP5 | go1.22-openssl | 1.22.7.1-150000.1.3.1 | SUSE-SU-2024:3772-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP5 | go1.23-openssl | 1.23.2.2-150000.1.3.1 | SUSE-SU-2024:3773-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6 | go1.22 | 1.22.7-150000.1.27.1 | SUSE-SU-2024:3213-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP5, Linux Enterprise Module for Development Tools 15 SP6 | go1.23 | 1.23.1-150000.1.6.1 | SUSE-SU-2024:3214-1 |
| 5 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.5 | go1.21-openssl | 1.21.13.4-150000.1.14.1 | SUSE-SU-2024:3809-1 |
| openSUSE | Leap 15.5 | go1.22-openssl | 1.22.7.1-150000.1.3.1 | SUSE-SU-2024:3772-1 |
| openSUSE | Leap 15.5 | go1.23-openssl | 1.23.2.2-150000.1.3.1 | SUSE-SU-2024:3773-1 |
| openSUSE | Leap 15.5, Leap 15.6 | go1.22 | 1.22.7-150000.1.27.1 | SUSE-SU-2024:3213-1 |
| openSUSE | Leap 15.5, Leap 15.6 | go1.23 | 1.23.1-150000.1.6.1 | SUSE-SU-2024:3214-1 |
| openSUSE | Leap 15.5, Leap 15.6 | kubernetes1.24 | 1.24.17-150500.3.24.1 | SUSE-SU-2024:3453-1 |
| openSUSE | Leap 15.5, Leap 15.6 | kubernetes1.25 | 1.25.16-150400.9.18.1 | SUSE-SU-2024:3457-1 |
| openSUSE | Leap 15.5, Leap 15.6 | kubernetes1.26 | 1.26.15-150400.9.16.1 | SUSE-SU-2024:3456-1 |
| openSUSE | Leap 15.5, Leap 15.6 | kubernetes1.27 | 1.27.16-150400.9.12.1 | SUSE-SU-2024:3455-1 |
| openSUSE | Leap 15.5, Leap 15.6 | kubernetes1.28 | 1.28.13-150400.9.10.1 | SUSE-SU-2024:3454-1 |
| openSUSE | Leap 15.6 | go1.22-openssl | 1.22.7.1-150600.13.3.1 | SUSE-SU-2024:3938-1 |
| openSUSE | Leap 15.6 | go1.23-openssl | 1.23.2.2-150600.13.3.1 | SUSE-SU-2024:3937-1 |
| 6 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | aardvark-dns | 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:8038 |
| AlmaLinux | 8 | buildah, buildah-tests | 2:1.33.8-4.module_el8.10.0+3876+e55593a8 | ALSA-2024:8038 |
| AlmaLinux | 8 | buildah, buildah-tests | 2:1.33.8-4.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:8038 |
| AlmaLinux | 8 | cockpit-podman | 84.1-1.module_el8.10.0+3876+e55593a8 | ALSA-2024:8038 |
| AlmaLinux | 8 | conmon | 3:2.1.10-1.module_el8.10.0+3845+87b84552 | ALSA-2024:8038 |
| AlmaLinux | 8 | conmon | 3:2.1.10-1.module_el8.10.0+3858+6ad51f9f | ALSA-2024:8038 |
| AlmaLinux | 8 | conmon | 3:2.1.10-1.module_el8.10.0+3876+e55593a8 | ALSA-2024:8038 |
| AlmaLinux | 8 | conmon | 3:2.1.10-1.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:8038 |
| AlmaLinux | 8 | container-selinux | 2:2.229.0-2.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:8038 |
| AlmaLinux | 8 | containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3876+e55593a8 | ALSA-2024:8038 |
| AlmaLinux | 8 | containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:8038 |
| AlmaLinux | 8 | containers-common | 2:1-82.module_el8.10.0+3876+e55593a8 | ALSA-2024:8038 |
| 42 more for AlmaLinux in the JSON. | ||||
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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Important.
This vulnerability in Go's `encoding/gob` package is of high severity because it exposes applications to potential Denial of Service (DoS) attacks through stack exhaustion. Since `gob` relies on recursive function calls to decode nested structures, an attacker could exploit this by sending crafted messages with excessively deep nesting, causing the application to panic due to stack overflow. This risk is particularly important in scenarios where untrusted or external input is processed, as it can lead to system unavailability or crashes, undermining the reliability and availability of services.
| Product | Package | State | Advisory |
|---|---|---|---|
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-db-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-grafana-dashboard-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-operator-bundle:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-ose-oauth-proxy-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-reports-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-rhel8-operator:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/cryostat-storage-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| Cryostat 3 on RHEL 8 | cryostat-tech-preview/jfr-datasource-rhel8:3.0.1-5 | Fixed 2024-10-22 | RHSA-2024:8329 |
| NETWORK-OBSERVABILITY-1.7.0-RHEL-9 | network-observability/network-observability-cli-rhel9:v1.7.0-67 | Fixed 2024-10-22 | RHSA-2024:8014 |
| Builds for Red Hat OpenShift | openshift-builds/openshift-builds-waiters-rhel8 | Will not fix | |
| cert-manager Operator for Red Hat OpenShift | cert-manager/jetstack-cert-manager-rhel9 | Affected | |
| Migration Toolkit for Applications 7 | mta/mta-hub-rhel9 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-api-rhel9 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/hive-rhel8 | Affected | |
| Node Maintenance Operator | workload-availability/node-maintenance-rhel8-operator | Will not fix | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Will not fix | |
| OpenShift Serverless | openshift-serverless-clients | Will not fix | |
| OpenShift Service Mesh 2 | openshift-golang-builder-container | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/subctl-rhel9 | Affected | |
| 519 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-2024-34156.