Unsafe multicluster kubeconfig handling fixed in istioctl analyze
istioctl analyze with Kubernetes clients built from istio-system multicluster secrets(Inferred)Before this release, istioctl analyze built Kubernetes clients directly from kubeconfigs in those secrets, so a crafted secret could run an exec credential plugin or read local files through unsafe auth fields on the machine running istioctl. It now sanitizes those kubeconfigs before building clients, using the same sanitization as istiod.
Show release-note lines
- Fixed istioctl analyze building Kubernetes clients directly from istio-system multicluster secrets without sanitizing the kubeconfig, which could allow a crafted secret to run an exec credential plugin (or read local files via other unsafe auth fields) on the machine running istioctl . The kubeconfig is now sanitized the same way istiod already sanitizes these secrets. Credit : This vulnerability was discovered and reported by Adam Korczynski.istio.io/news/releases/1.30.x/announcing-1.30.5/