Loading advisory.
Loading advisory.
Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header
Vulnerability report without repro case. Repro case may be added later after harness is complete.
Published 2026-07-16 19:20 UTC · Modified 2026-09-21 09:40 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/envoyproxy/gateway | Go | >= 1.8.0-rc.0, < 1.8.1 < 1.7.4 | 1.8.1, 1.7.4 | go get github.com/envoyproxy/gateway@v1.8.1go get github.com/envoyproxy/gateway@v1.7.4 |
Vulnerability report without repro case. Repro case may be added later after harness is complete.
Preconditions (4):
Tenant can create EnvoyExtensionPolicy (baseline)
Controller has egress to attacker-controlled OCI registry
No registry allowlist (none exists in code)
Layer presents Docker/OCI media type
Description
At imagefetcher.go:287, make([]byte, h.Size) uses the attacker-controlled tar-header size; the LimitReader at :278 bounds bytes read from the stream but not the header-declared size returned by tr.Next() (a 512-byte header can claim a multi-TB entry via PAX/GNU encoding). Reached from untrusted tenant input via EnvoyExtensionPolicy spec.wasm[].code.image.url (envoyextensionpolicy.go:1157 → cache.go:262/299 → imagefetcher.go:218 → :287), and the allocation happens for every tar entry regardless of filename. The resulting Go runtime OOM throw is unrecoverable and, because the CRD persists, crash-loops the shared controller — single-request, non-volumetric, cluster-wide DoS.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.007 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |