Skip to main content
HIGH7.7GHSA-vwc3-94w5-r373
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Affected projects
istio
Disclosed
Last updated

Affected versions

ProjectVulnerable range
istio.io/istio>= 1.30.0, < 1.30.9
istio.io/istio>= 1.31.0, < 1.31.5
istio.io/istio>= 1.32.0, < 1.32.1

Patched versions

ProjectFixed in
istio.io/istio1.30.9
istio.io/istio1.31.5
istio.io/istio1.32.1

References

Summary​

When Kubernetes Gateway API support is disabled (PILOT_ENABLE_GATEWAY_API=false), the GatewayAPIController is not initialized and remains nil. Two independent code paths dereference it without a nil check. First, buildHTTPConnectionManager calls GatewayAPIController.HasInferencePool for any pod carrying the gateway.networking.k8s.io/gateway-name label — an ordinary, unrestricted pod label — causing a nil method call and panic when istiod generates that pod's inbound listeners. Second, SecretAllowed calls GatewayAPIController.SecretAllowed when evaluating cross-namespace credentialName or caCertCredentialName references in an Istio Gateway resource, also producing a nil dereference. Both paths require only namespace-scoped permissions, produce self-sustaining crash loops that persist across istiod restarts, and continue until the offending pod label or Gateway resource is removed.

Impact​

A tenant with namespace-scoped pod or Gateway create and update permissions can trigger a persistent istiod crash loop without any cluster-admin access. The first path (pod label) recurs after each istiod restart as the labeled proxy reconnects and requests listeners; the second path recurs as gateway configuration is re-evaluated. While istiod is down, configuration and certificate distribution stalls across the mesh, and sidecar injection and validation webhooks fail. The crash loop is self-sustaining after the attacker triggers it and continues even after the attacker loses access, until the offending resource is manually removed. There is no confidentiality or integrity impact.

Detection​

Monitor istiod for CrashLoopBackOff events and nil pointer dereference panics in buildHTTPConnectionManager or SecretAllowed visible in crash stack traces. Audit injected pods for the gateway.networking.k8s.io/gateway-name label on workloads not associated with Gateway API resources, and audit Gateway resources for credentialName or caCertCredentialName values referencing secrets in other namespaces. RBAC controls on who can apply arbitrary pod labels and create or modify Gateway resources will limit the attack surface.

Mitigation​

Upgrade to Istio 1.30.9, 1.31.5, or 1.32.1. The fix skips the HasInferencePool lookup when the Gateway API controller is not initialized (since no inference pools can exist without it), and makes SecretAllowed fail closed when the controller is absent, restoring the behavior present before Istio 1.27.0. As an interim workaround, restrict pod label creation and Gateway resource management to trusted operators via RBAC, and audit existing resources for the conditions described above.

References​