Istiod crashes on xDS NACK for unsubscribed resource types
Sending an xDS NACK that references a resource type not previously subscribed triggers a nil‑pointer dereference in istiod, allowing any workload to bring down the control plane via the unauthenticated plaintext xDS port.
When a discovery request includes error_detail for an unknown type URL, istiod’s UpdateWatchedResource receives a nil WatchedResource and dereferences it.
- Both state‑of‑the‑world and delta ADS handlers contain the same flaw.
- The plaintext xDS endpoint (port 15010) does not require client authentication, so any reachable workload can exploit it.
- The panic bypasses gRPC interceptors because they only wrap unary calls, leading to a full process exit.
- The issue is resolved in 1.30.9, 1.31.5, and 1.32.1 by adding a nil check before dereferencing.
Engineering Takeaway: Validate resource existence before dereferencing and consider authenticating or restricting access to plaintext xDS endpoints.





