🇰🇷 한글 설명
BuildKit 0.31.1 미만 버전에서 발생하는 취약점으로, 조작된 빌드 요청을 통해 잘못된 SecurityMode 값을 설정할 수 있습니다. 이 경우 executor/oci/spec_linux.go가 지원되지 않는 값을 비샌드박스 모드로 처리하여, 보안 권한 없이도 Seccomp 및 AppArmor 보호 기능을 비활성화할 수 있습니다.
💡 쉬운 설명
빌드 도구인 BuildKit의 설정 오류를 이용해 보안 방어막을 무력화할 수 있는 문제입니다. 공격자가 특수한 요청을 보내면 컨테이너의 보안 기능이 꺼진 상태로 빌드가 진행될 수 있습니다.
🇺🇸 원문 (English)
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, a custom frontend could place an invalid SecurityMode value in a crafted build request, and executor/oci/spec_linux.go treated the unsupported value as a non-sandbox mode without requiring the security.insecure entitlement. This disabled Seccomp and AppArmor protections for the build container even though Linux capabilities remained restricted. This issue is fixed in version 0.31.1.
📍 영향받는 시스템
BuildKit 버전 0.31.1 미만
⚔️ 공격 벡터
조작된 SecurityMode 값이 포함된 커스텀 프론트엔드 빌드 요청을 통한 공격
🛡️ 대응 방법
BuildKit을 0.31.1 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.31.1보다 낮은지 확인하십시오.
buildkitd --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux