{"id":"GHSA-h7pq-86h8-rp5x","revision":"d92b61d4bbb740f7b73c50f100a62221","records":[{"revision":"d92b61d4bbb740f7b73c50f100a62221","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-h7pq-86h8-rp5x","aliases":["BIT-envoy-gateway-2026-53717","CVE-2026-53717","GO-2026-6008"],"title":"Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header","description":"Vulnerability report without repro case. Repro case may be added later after harness is complete.\n\n**Preconditions (4):**\n- Tenant can create EnvoyExtensionPolicy (baseline)\n- Controller has egress to attacker-controlled OCI registry\n- No registry allowlist (none exists in code)\n- Layer presents Docker/OCI media type\n\n**Description**\n\nAt 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.","state":0,"publishedAt":"2026-07-16T19:20:05+00:00","modifiedAt":"2026-09-21T09:40:36.1578382+00:00","affected":[{"ecosystem":"Go","name":"github.com/envoyproxy/gateway","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.8.0-rc.0"},{"kind":"fixed","version":"1.8.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/envoyproxy/gateway","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.7.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x","https://github.com/envoyproxy/gateway"],"sourceUrl":"https://github.com/advisories/GHSA-h7pq-86h8-rp5x","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-h7pq-86h8-rp5x","identifiers":["GHSA-h7pq-86h8-rp5x","BIT-envoy-gateway-2026-53717","CVE-2026-53717","GO-2026-6008"]},"retained":false,"historicalAffected":[]}],"coverage":[]}