🇰🇷 한글 설명
Node.js용 오픈소스 샌드박스인 vm2의 3.11.6 미만 버전에서 발생하는 취약점입니다. Function.prototype.call을 이용한 중첩 간접 호출을 차단하지 못해, 샌드박스 내 코드가 호스트의 프로토타입 체인을 조작하고 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
격리된 환경(샌드박스)에서 실행되는 코드가 보안 벽을 뚫고 실제 컴퓨터의 제어권을 탈취할 수 있는 문제입니다. 공격자가 샌드박스를 탈출하여 시스템에 해로운 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.
📍 영향받는 시스템
vm2 version < 3.11.6
⚔️ 공격 벡터
샌드박스 내에서 Function.prototype.call을 이용한 프로토타입 체인 조작을 통한 탈출
🛡️ 대응 방법
vm2 버전을 3.11.6 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 vm2의 버전이 3.11.6 미만인지 확인하십시오.