Skip to main content
HIGH7.7GHSA-g435-phf9-7g5m
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​

In ambient mode, a DNS or DNS_ROUND_ROBIN ServiceEntry that is enrolled in a waypoint but resolves to no endpoints triggers a nil pointer dereference in istiod while generating the waypoint's inbound clusters. The root cause is that buildCluster deliberately returns nil for STRICT_DNS and LOGICAL_DNS clusters with no locality endpoints, and the waypoint inbound path in buildWaypointInboundVIPCluster passed that nil result directly to getOrCreateIstioMetadata without a nil check. Any user who can create a ServiceEntry in a waypoint-enrolled namespace can trigger the crash with namespace-scoped permissions alone, and istiod enters a crash loop until the offending ServiceEntry is removed. STATIC ServiceEntries (which map to EDS clusters) are not affected.

Impact​

A tenant with only namespace-scoped ServiceEntry create permission can crash the istiod control plane for the entire mesh, crossing the namespace-to-control-plane trust boundary. While istiod is down, configuration distribution and certificate rotation stall mesh-wide; the data plane continues serving its last-known configuration but cannot receive policy updates. The crash loop is self-sustaining after the initial trigger and continues after each istiod restart until the offending ServiceEntry is deleted. There is no confidentiality or integrity impact; the effect is a persistent availability loss for the control plane.

Detection​

Monitor istiod pod restart counts and CrashLoopBackOff events in the istio-system namespace. If istiod begins crash-looping, audit ServiceEntry resources in waypoint-enrolled namespaces for DNS or DNS_ROUND_ROBIN entries whose workloadSelector matches no workloads, or that have no defined endpoints. istiod logs will show a nil pointer dereference panic immediately before each crash.

Mitigation​

Upgrade to Istio 1.30.9, 1.31.5, or 1.32.1. The fix returns early when buildCluster returns nil and filters nil clusters out of the inbound-VIP result, matching the existing behavior in the outbound path. As an interim workaround, restrict who may create or edit ServiceEntry resources in namespaces enrolled in a waypoint using RBAC or an admission policy, and avoid DNS or DNS_ROUND_ROBIN ServiceEntries whose workloadSelector matches no workloads in waypoint-enrolled namespaces.

References​