VDB

CVE-2024-34158

CVE-2024-34158 PUBLISHED CVSS 7.5 HIGH

Stack exhaustion in Parse in go/build/constraint

Reported by go · Published September 6, 2024

Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
tekton-chainsWolfi0.22.0-r1
prometheus-blackbox-exporterChainguard0.25.0-r7
kube-state-metricsChainguard2.13.0-r1
pombumpChainguard0.0.13-r2
tigera-operator-1.31Chainguard1.31.2-r14
aactlWolfi0.4.12-r18
tigera-operator-1.29Chainguard1.29.8-r11
envoy-ratelimit-fipsChainguard0.0_git20240815-r1
fluent-operator-fipsChainguard3.1.0-r1
sbom-convertChainguard0.0.4-r2
terraform-1.9Chainguard1.9.8-r9
delveChainguard1.23.0-r1

88 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Go standard librarygo/build/constraint0, 1.23.0-0
wolfitekton-chains0
chainguardprometheus-blackbox-exporter0
chainguardkube-state-metrics0
chainguardpombump0
chainguardtigera-operator-1.310
wolfiaactl0
chainguardtigera-operator-1.290
chainguardenvoy-ratelimit-fips0
chainguardfluent-operator-fips0
chainguardsbom-convert0
chainguardterraform-1.90
chainguarddelve0
chainguarddex-k8s-authenticator0
chainguardharbor-2.100
chainguardk8ssandra-operator0
wolfikube-vip0
chainguardferretdb0
chainguardgo-1.20*
chainguardkubebuilder0

…and 1406 more

Timeline

  • Sep 5, 2024 CVE Published
  • Sep 7, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Apr 10, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (123 in total, the first dated here)
  • Nov 21, 2026 Distribution Patch (115 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-34158
vulnetix vdb fixes CVE-2024-34158

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-34158/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›