🇰🇷 한글 설명
Kata Containers 4.0.0 미만 버전의 kata-agent에서 기밀 게스트 메모리 관리 시 권한 우회 취약점이 발견되었습니다. mem-agent 기능이 활성화된 경우, 신뢰할 수 없는 호스트가 정책 검사 없이 특정 ttRPC 메서드를 호출하여 게스트 메모리 관리에 개입할 수 있습니다. 이로 인해 공격자는 스왑, 강제 제거 또는 압축을 유도하여 기밀 워크로드의 가용성과 성능을 저하시킬 수 있습니다.
💡 쉬운 설명
컨테이너를 보호하는 보안 규칙을 건너뛰고 호스트가 컨테이너의 메모리를 마음대로 조작할 수 있는 문제입니다. 이로 인해 서비스가 느려지거나 갑자기 멈추는 등의 성능 장애가 발생할 수 있습니다.
🇺🇸 원문 (English)
Kata Containers is an open source implementation of lightweight Virtual Machines (VMs) that perform like containers. In versions prior to 4.0.0, the kata-agent is vulnerable to an authorization bypass in confidential-guest memory management. In Confidential Containers (CoCo) deployments, the kata-agent enforces an OPA/Rego-based AgentPolicy that must authorize every ttRPC API call, forming the security boundary that prevents an untrusted host from directing the confidential guest. Two ttRPC methods introduced with the mem-agent feature are missing this authorization check, so an untrusted host can invoke them unconditionally regardless of the guest's policy configuration. When mem-agent is enabled (off by default), this lets the host tamper with in-guest memory management by forcing swap, aggressive eviction, or compaction, resulting in attacker-controlled availability and performance degradation of the confidential workload entirely outside the agent-policy boundary. The impact does not include memory disclosure or code execution, and severity is bounded by the precondition that mem-agent must be explicitly enabled. This issue is fixed in version 4.0.0.
📍 영향받는 시스템
Kata Containers 4.0.0 미만 버전 (mem-agent 기능 활성화 시)
⚔️ 공격 벡터
신뢰할 수 없는 호스트가 권한 검사가 누락된 ttRPC 메서드를 호출하여 메모리 관리 명령을 강제 실행
🛡️ 대응 방법
Kata Containers를 4.0.0 이상의 버전으로 업데이트하거나, 사용하지 않는 경우 mem-agent 기능을 비활성화
🔧 검증 코드
출력된 버전이 4.0.0 미만인지 확인하여 취약 여부를 판단합니다.
kata-agent --version 2>/dev/null || echo 'Not installed'