Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-53717 BIT-envoy-gateway-2026-53717EUVD-2026-78069GHSA-h7pq-86h8-rp5xGO-2026-6008

Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header

Published Sep 14, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

Description

Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.7.4 and 1.8.1, internal/wasm/imagefetcher.go follows tenant-controlled EnvoyExtensionPolicy spec.wasm[].code.image.url values to Docker or OCI Wasm layers, and extractWasmPluginBinary uses the untrusted tar-header h.Size value to allocate memory before validating the entry name or declared size. A small PAX or GNU tar header can therefore claim a multi-terabyte entry even though the surrounding LimitReader restricts only the bytes read from the stream, and no registry allowlist prevents a permitted tenant from selecting an attacker-controlled registry that the controller can reach. The allocation is attempted for every tar entry and can cause an unrecoverable Go runtime out-of-memory failure; because the custom resource persists, reconciliation repeatedly crash-loops the shared controller and causes a single-request, non-volumetric, cluster-wide control-plane denial of service. This issue is fixed in versions 1.7.4 and 1.8.1.

Affected products

VendorProductAffectedFixed
envoyproxy gateway < 1.7.4, >= 1.8.0-rc.0, < 1.8.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling datadog-cluster-agent-7.73 7.73.3-r23 —
Wolfi rolling datadog-cluster-agent-7.77 7.77.3-r23 —
Wolfi rolling datadog-cluster-agent-7.78 7.78.4-r16 —
Wolfi rolling datadog-cluster-agent-7.79 7.79.2-r15 —
Wolfi rolling datadog-cluster-agent-7.80 7.80.4-r7 —
Wolfi rolling tigera-operator-1.42 1.42.4-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/envoyproxy/gateway >= 1.8.0-rc.0, < 1.8.1 1.8.1 GHSA-h7pq-86h8-rp5x
Go github.com/envoyproxy/gateway < 1.7.4 1.7.4 GHSA-h7pq-86h8-rp5x
Go github.com/envoyproxy/gateway < 1.7.4 · >= 1.8.0-rc.0, < 1.8.1 1.7.4, 1.8.1 GO-2026-6008

Advisories 1

References