Red Hat Patches Go Stack-Exhaustion DoS Flaws Across OpenShift and RHEL
Vulnerability Disclosure · 41 sources · Updated 3mo ago · First seen Jan 28, 2025

Red Hat released fixes for three Go standard-library denial-of-service vulnerabilities: CVE-2024-34155 in go/parser, CVE-2024-34156 in encoding/gob, and CVE-2024-34158 in go/build/constraint. Applications that parse or decode attacker-controlled input can panic after deeply nested Go literals, gob structures, or legacy // +build expressions exhaust stack space. Red Hat rated the issues Important in affected product advisories; no exploitation evidence is identified in the supplied advisories.
The fixes were delivered through updated Go toolsets for RHEL 8 and RHEL 9 and propagated to container tooling including Podman, Buildah, CRI-O, and the RHEL 8 container-tools module. Red Hat also issued updated images and packages for OpenShift Container Platform 4.12 through 4.17, OpenShift API for Data Protection, OpenStack Platform, Migration Toolkit for Containers, and several OpenShift operators. Organizations should update affected systems, container tools, and OpenShift clusters through their applicable Red Hat release channels, including all supported x86_64, ARM64, IBM Power, and IBM Z/LinuxONE deployments.
Why it matters
Impact assessment
These flaws can remotely crash Go-based services that parse or decode attacker-controlled Go source, gob data, or legacy build-tag expressions. Exposure is broad across unpatched Red Hat Enterprise Linux 8/9 Go toolchains and Red Hat container and OpenShift ecosystems, but practical exploitability depends on whether a component passes untrusted input to the affected parsing APIs.
Business and operational impact
- Primary impact: denial of service through application panic and stack exhaustion; no confidentiality or integrity impact is stated for CVE-2024-34156.
- Affected environments include RHEL 8 and 9 systems, including x86_64, aarch64, ppc64le, and s390x/IBM Z/LinuxONE, plus applicable extended-support lifecycle channels.
- Affected Red Hat products include OpenShift Container Platform 4.12 through 4.17, Podman, Buildah, CRI-O, the RHEL 8 container-tools module, osbuild/osbuild-composer, OADP, Migration Toolkit for Containers, Cryostat, Network Observability, OpenStack Platform, and selected OpenShift operators.
- Operational disruption can affect container image builds, cluster services, backup/restore workflows, image-building services, and other exposed Go applications.
- Red Hat rates the principal advisories Important. The supplied advisories identify no exploitation in the wild.
Exposure scope
- Network reachability is explicitly established for CVE-2024-34156 when an application accepts attacker-controlled gob input; it requires no authentication or user interaction.
- CVE-2024-34155 and CVE-2024-34158 require an application to parse untrusted Go source or legacy
// +buildlines, respectively. These conditions commonly arise in build, code-analysis, source-ingestion, or repository-processing workflows.


