istioctl analyze の安全でないマルチクラスタ kubeconfig 処理の修正
istio-system のマルチクラスタシークレットから Kubernetes クライアントを構築して istioctl analyze を使用する環境(推定)このリリース以前は、istioctl analyze がそれらのシークレット内の kubeconfig から Kubernetes クライアントを直接構築していたため、細工されたシークレットによって、istioctl の実行マシン上で exec 認証情報プラグインが実行されたり、安全でない認証フィールドを介してローカルファイルが読み取られたりする可能性がありました。現在は、クライアントの構築前に kubeconfig をサニタイズします。サニタイズ方法は istiod と同じです。
原文を表示
- 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/