🇰🇷 한글 설명
Kubernetes CSI snapshot-controller v2.1.3 및 v3.0.2 미만 버전에서 VolumeSnapshot 리소스를 처리할 때 패닉이 발생할 수 있습니다. 존재하지 않는 PVC를 참조하고 VolumeSnapshotClass가 없는 경우 컨트롤러가 무한 재시작 루프에 빠지게 됩니다. 이로 인해 볼륨 스냅샷 생성 및 삭제 기능이 마비됩니다.
💡 쉬운 설명
잘못된 설정이 담긴 스냅샷 정보를 처리하다가 시스템 관리 프로그램이 계속 꺼졌다 켜지는 오류가 발생합니다. 이로 인해 스냅샷을 찍거나 지우는 작업을 할 수 없게 됩니다.
🇺🇸 원문 (English)
Kubernetes CSI snapshot-controller prior to v2.1.3 and v3.0.2 could panic when processing a VolumeSnapshot custom resource when: - The VolumeSnapshot referenced a non-existing PersistentVolumeClaim and the VolumeSnapshot did not reference any VolumeSnapshotClass. - The snapshot-controller crashes, is automatically restarted by Kubernetes, and processes the same VolumeSnapshot custom resource after the restart, entering an endless crashloop. Only the volume snapshot feature is affected by this vulnerability. When exploited, users can’t take snapshots of their volumes or delete the snapshots. All other Kubernetes functionality is not affected.
📍 영향받는 시스템
Kubernetes CSI snapshot-controller v2.1.3 미만 및 v3.0.2 미만 버전
⚔️ 공격 벡터
존재하지 않는 PVC를 참조하고 VolumeSnapshotClass가 없는 VolumeSnapshot 리소스를 생성하여 컨트롤러의 무한 재시작 유도
🛡️ 대응 방법
snapshot-controller를 v2.1.3 또는 v3.0.2 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력된 이미지 태그 버전이 v2.1.3 또는 v3.0.2 이상인지 확인
kubectl get deployment snapshot-controller -n kube-system -o jsonpath='{.spec.template.spec.containers[0].image}'