🇰🇷 한글 설명
Kata Containers 3.31.0 미만 버전의 runtime-rs standalone virtio-fs 경로에서 게스트 루트 권한을 이용한 호스트 루트 권한 탈취 취약점이 발견되었습니다. 공격자는 virtio-fs PCI 장치를 제어하여 호스트의 virtiofsd에 직접 FUSE 요청을 보냄으로써, 설정된 공유 디렉토리를 벗어나 호스트의 민감한 경로에 심볼릭 링크를 생성할 수 있습니다. 이를 통해 호스트의 cron 데몬을 조작하여 악성 페이로드를 호스트 루트 권한으로 실행할 수 있습니다.
💡 쉬운 설명
가상 머신 내부의 관리자가 보안 설정을 우회하여 실제 컴퓨터(호스트)의 시스템 파일을 마음대로 조작할 수 있는 결함입니다. 이를 통해 가상 머신의 격리 벽을 허물고 실제 컴퓨터의 제어권을 완전히 뺏을 수 있습니다.
🇺🇸 원문 (English)
Kata Containers is an open source project focusing on a standard implementation of lightweight Virtual Machines (VMs) that perform like containers. Prior to 3.31.0, the runtime-rs standalone virtio-fs path is vulnerable to a guest-root to host-root escape. In this configuration, Kata runs the host virtiofsd as root with --sandbox none --seccomp none, so an attacker with root-equivalent access inside the guest can bypass the guest virtio-fs client entirely by taking over the virtio-fs PCI device and building a virtqueue in userspace to submit raw FUSE requests directly to the host virtiofsd. A crafted FUSE_SYMLINK request whose new symlink name is an absolute host path is honored outside the configured shared directory, allowing guest root to create root-owned symlinks in sensitive host locations such as /etc/cron.d. By pointing such a symlink at a guest-controlled crontab payload reachable through a live runtime process's mount namespace, the attacker causes the host cron daemon to execute that payload as host root, crossing the Kata isolation boundary. This issue is fixed in version 3.31.0.
📍 영향받는 시스템
Kata Containers 3.31.0 미만 버전 (runtime-rs standalone virtio-fs 사용 시)
⚔️ 공격 벡터
게스트 내 루트 권한을 가진 공격자가 virtio-fs PCI 장치를 탈취하고 조작된 FUSE 요청을 통해 호스트에 심볼릭 링크를 생성함
🛡️ 대응 방법
Kata Containers를 3.31.0 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 3.31.0 미만인지 확인하십시오.
kata-runtime --version 2>/dev/null || kata-container --version 2>/dev/null