Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| envoyproxy | gateway | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Envoyproxy | Gateway |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-h7pq-86h8-rp5x | Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.715% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Envoyproxy
Envoyproxy gateway |
|
| Vendors & Products |
Envoyproxy
Envoyproxy gateway |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header | |
| Weaknesses | CWE-789 | |
| References |
|
|
| Metrics |
cvssV3_1
|