Skip to main content
No exploitation reportedFix available

CVE-2024-34158

No exploitation reported by the sources we read.

  • Published2024-09-06
  • Fixed in1.23.1 · 1.22.7
  • WeaknessCWE-674

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

Timeline

dates in UTC
  1. 2024-09-0621:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-34158?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-34158?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

CISA-ADP · OSV
Go build constraint go standard library
BranchAffectedFixed in
1.23≥ 1.23.0-0, < 1.23.11.23.1
1.22< 1.22.71.22.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7
  • buildahAlmaLinux:9all versions · fixed in 2:1.33.9-1.el9_4and 1 other package
  • buildahAlmaLinux:9all versions · fixed in 2:1.37.5-1.el9_5and 1 other package
  • buildahAlmaLinux:8all versions · fixed in 2:1.33.8-4.module_el8.10.0+3876+e55593a8and 1 other package
  • buildahAlmaLinux:8all versions · fixed in 2:1.33.8-4.module_el8.10.0+3901+4b80ecd7and 1 other package
  • cockpit-podmanAlmaLinux:8all versions · fixed in 84.1-1.module_el8.10.0+3876+e55593a8
  • conmonAlmaLinux:8all versions · fixed in 3:2.1.10-1.module_el8.10.0+3845+87b84552
  • conmonAlmaLinux:8all versions · fixed in 3:2.1.10-1.module_el8.10.0+3858+6ad51f9f

47 more package ranges on OSV.dev

Vendor advisories

  • RHSA-2026:2172 Red Hat Product Security64 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15 security, enhancement & bug fix update

  • RHSA-2026:2164 Red Hat Product Security64 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16 security, enhancement & bug fix update

  • RHSA-2024:8704 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Kube Descheduler Operator for Red Hat OpenShift 5.0.2 for RHEL 9

Full record on NVD

Fix

  1. Update Go build constraint go standard library to 1.23.1 · 1.22.7
  2. Vendor fix Red Hat Product Security RHSA-2026:2172 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/updating_openshift_data_foundation/updating-ocs-…
  3. Vendor fix Red Hat Product Security RHSA-2026:2164 · 64 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/updating_openshift_data_foundation/updating-ocs-…
  4. Vendor fix Red Hat Product Security RHSA-2024:8704 · 8 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied.
  5. Workaround from the vendor Red Hat Product Security RHSA-2026:2172 · 72 productsMitigation 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.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2024-09-06
Last Modified
2026-06-17
NVD status
Deferred

Frequently asked questions

What is CVE-2024-34158?

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

Is CVE-2024-34158 actively exploited?

Active exploitation of CVE-2024-34158 has not been confirmed. Its EPSS score was 1.0% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-34158?

CVE-2024-34158 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running Red Hat OpenShift Data? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month