istioctl analyze의 안전하지 않은 멀티클러스터 kubeconfig 처리 수정
istioctl analyze를 사용하고 istio-system 멀티클러스터 시크릿에서 Kubernetes 클라이언트를 만드는 설정(추정)이번 릴리스 전에는 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/