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 go/build/constraint. EPSS 1.0% 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-34158 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-34158?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-34158?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-34158 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 go/build/constraint | before 1.22.7 |
| Go standard library go/build/constraint | from 1.23.0-0 before 1.23.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GO-2024-3107 | 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-34158 |
| Ubuntu | 14.04:LTS | golang-1.10 | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 16.04:LTS | golang-1.6, golang-1.10 | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 18.04:LTS | golang-1.8, golang-1.9, golang-1.10 | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 20.04:LTS | golang-1.13, golang-1.14, golang-1.20 and 1 more | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 20.04:LTS | golang-1.18 | 1.18.1-1ubuntu1~20.04.3 | UBUNTU-CVE-2024-34158 USN-7109-1 |
| Ubuntu | 20.04:LTS | golang-1.22 | 1.22.2-2~20.04.2 | UBUNTU-CVE-2024-34158 USN-7081-1 |
| Ubuntu | 22.04:LTS | golang-1.17 | 1.17.13-3ubuntu1.3 | UBUNTU-CVE-2024-34158 USN-7111-1 |
| Ubuntu | 22.04:LTS | golang-1.18 | 1.18.1-1ubuntu1.2 | UBUNTU-CVE-2024-34158 USN-7109-1 |
| Ubuntu | 22.04:LTS | golang-1.20, golang-1.21 | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 22.04:LTS | golang-1.22 | 1.22.2-2~22.04.2 | UBUNTU-CVE-2024-34158 USN-7081-1 |
| Ubuntu | 24.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2024-34158 |
| Ubuntu | 24.04:LTS | golang-1.22 | 1.22.2-2ubuntu0.3 | UBUNTU-CVE-2024-34158 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 | go-toolset | 0:1.21.13-1.module+el8.10.0+22329+6cd5c9c6 | RHSA-2024:6908 |
| 76 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 |
| 3 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 |
| 43 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | aardvark-dns | 2:1.10.1-2.module+el8.10.0+1874+ce489889 | RLSA-2024:8038 |
| Rocky Linux | 8 | buildah | 2:1.33.8-4.module+el8.10.0+1843+6892ab28 | RLSA-2024:8038 |
| Rocky Linux | 8 | cockpit-podman | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | conmon | 3:2.1.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | container-selinux | 2:2.229.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | containernetworking-plugins | 1:1.4.0-5.module+el8.10.0+1843+6892ab28 | RLSA-2024:8038 |
| Rocky Linux | 8 | containers-common | 2:1-82.module+el8.10.0+1843+6892ab28 | RLSA-2024:8038 |
| Rocky Linux | 8 | criu | 0:3.18-5.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | crun | 0:1.14.3-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | delve | 0:1.21.2-4.module+el8.10.0+1868+7f5969f2 | RLSA-2024:6908 |
| Rocky Linux | 8 | fuse-overlayfs | 0:1.13-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:8038 |
| Rocky Linux | 8 | go-toolset | 0:1.21.13-1.module+el8.10.0+1868+7f5969f2 | RLSA-2024:6908 |
| 13 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.20 | go | 1.22.7-r0 | ALPINE-CVE-2024-34158 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | go | 1.23.1-r0 | ALPINE-CVE-2024-34158 |
| Azure Linux | 2 | golang | 1.18.8-6 | AZL-48929 |
| Azure Linux | 3 | golang | no fix listed | AZL-79078 AZL-98805 |
| Alpaquita | 23 | go | 1.23.8-r0 | BELL-CVE-2024-34158 |
| Alpaquita | stream | go | 1.24.0-r0 | BELL-CVE-2024-34158 |
| BellSoft Hardened Containers | 23 | go | 1.23.8-r0 | BELL-CVE-2024-34158 |
| BellSoft Hardened Containers | stream | go | 1.24.0-r0 | BELL-CVE-2024-34158 |
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; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| 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 |
| KDO-5.0-RHEL-9 | kube-descheduler-operator/descheduler-rhel9:v5.0-45 | Fixed 2024-12-02 | RHSA-2024:8704 |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel8 | Not affected | |
| Logical Volume Manager Storage | lvms4/lvms-rhel9-operator | Not affected | |
| Machine Deletion Remediation Operator | workload-availability/machine-deletion-remediation-rhel8-operator | Will not fix | |
| Migration Toolkit for Applications 7 | mta/mta-cli-rhel9 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-api-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/cluster-api-provider-azure-rhel8 | Fix deferred | |
| NBDE Tang Server | tang-operator-container | Will not fix | |
| Node HealthCheck Operator | workload-availability/node-healthcheck-rhel8-operator | Will not fix | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Will not fix | |
| OpenShift Serverless | openshift-serverless-clients | Will not fix | |
| 521 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-34158.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.