LoadSandbox 복원 시 비어 있는 샌드박스 메타데이터 거부
LoadSandbox를 통한 샌드박스 복원이전에는 LoadSandbox가 config.json의 값을 검증하지 않고 복원했습니다. 따라서 메타데이터의 name, namespace, uid 또는 어노테이션 수준의 name이나 namespace가 비어 있는 손상되거나 수정된 파일로 인해 유효하지 않은 샌드박스가 생성되고, 네임스페이스 범위 정책이나 RBAC 적용을 우회할 수 있었습니다.
원문 보기
- LoadSandbox now validates critical metadata fields (name, namespace, uid) to prevent restoring sandboxes with corrupt configurations. (#9633, @saschagrunert)github.com/cri-o/cri-o/releases/tag/v1.35.0