🇰🇷 한글 설명
Kubernetes용 멀티테넌시 프레임워크인 Capsule 0.13.8 미만 버전에서 발생합니다. 설정 웹훅이 잘못된 정규표현식을 검증하지 않아, 클러스터 관리자가 악의적인 정규표현식을 저장할 경우 노드 생성 또는 수정 시 노드 승인 웹훅이 충돌하여 중단될 수 있습니다.
💡 쉬운 설명
잘못된 규칙을 입력했을 때 이를 걸러내지 못해 시스템이 갑자기 멈춰버리는 문제입니다. 관리자가 실수나 의도로 이상한 규칙을 넣으면 서버의 핵심 기능이 작동을 멈출 수 있습니다.
🇺🇸 원문 (English)
Capsule is a multi-tenancy and policy-based framework for Kubernetes. Prior to 0.13.8, CapsuleConfiguration.Spec.NodeMetadata.ForbiddenLabels.Regex and CapsuleConfiguration.Spec.NodeMetadata.ForbiddenAnnotations.Regex were not validated by the configuration admission webhook, allowing a Cluster Admin to store a malformed regex that later reached regexp.MustCompile in pkg/api/forbidden_list.go through internal/webhook/node/user_metadata.go and crashed the node admission webhook on Node create, update, or patch requests. This issue is fixed in version 0.13.8.
📍 영향받는 시스템
Capsule versions prior to 0.13.8
⚔️ 공격 벡터
Cluster Admin 권한을 가진 사용자가 유효하지 않은 정규표현식을 CapsuleConfiguration에 설정하여 웹훅 서비스 거부(DoS) 유발
🛡️ 대응 방법
Capsule을 0.13.8 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 Capsule의 버전이 0.13.8보다 낮은지 확인하십시오.
helm list -A | grep capsule | awk '{print $4}'