🇰🇷 한글 설명
Kubernetes용 기밀 컴퓨팅 런타임인 Contrast의 1.18.0 미만 버전에서 ACPI/AML 처리 취약점이 발견되었습니다. 공격자가 호스트를 제어할 경우 악성 AML 바이트코드를 주입하여 게스트 커널의 메모리에 접근하고 임의 코드를 실행하거나 기밀 데이터를 탈취할 수 있습니다.
💡 쉬운 설명
컴퓨터의 하드웨어 설정 정보를 전달하는 과정에서 악성 코드가 섞여 들어올 수 있는 보안 구멍이 발견되었습니다. 이를 통해 해커가 보호되어야 할 중요한 데이터에 접근하거나 시스템을 마음대로 조작할 수 있습니다.
🇺🇸 원문 (English)
Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.18.0, the guest kernel's ACPI/AML handling is vulnerable to an AML injection attack ("BadAML"). ACPI tables containing AML bytecode are passed from the untrusted host (QEMU) to the guest firmware (OVMF) and on to the Linux kernel, whose AML interpreter executes them. An attacker controlling the host — an assumed adversary in Contrast's threat model — can craft a table with malicious, Turing-complete AML bytecode that the guest kernel interprets with access to the full guest memory, including private pages, resulting in arbitrary code execution and disclosure or modification of confidential guest data. The issue affects the AMD SEV-SNP platforms Metal-QEMU-SNP and Metal-QEMU-SNP-GPU; Metal-QEMU-TDX is not affected because ACPI table contents are measured into RTMR 0 by OVMF on Intel TDX. Version v1.18.0 mitigates the attack by sandboxing the kernel AML interpreter so that it cannot read or write private memory pages. This weakness is not specific to Contrast but is generic to Confidential Computing setups that expose the ACPI interface to the host.
📍 영향받는 시스템
Contrast runtime versions before 1.18.0 (AMD SEV-SNP platforms: Metal-QEMU-SNP, Metal-QEMU-SNP-GPU)
⚔️ 공격 벡터
신뢰할 수 없는 호스트(QEMU)가 악성 AML 바이트코드가 포함된 ACPI 테이블을 게스트 커널로 전달하여 실행 유도
🛡️ 대응 방법
Contrast 런타임을 v1.18.0 이상 버전으로 업데이트하여 커널 AML 인터프리터 샌드박싱 적용
🔧 검증 코드
출력된 버전이 v1.18.0 이상인지 확인하여 취약점 여부를 판단합니다.
contrast-runtime --version 2>/dev/null | grep -E 'v(1\[\.\d+\.\d+\]|1\.18\.0|[2-9]\.)'