CVE-2023-30547 Sandbox Escape in vm2
vm2에서 샌드 박스 탈출
설명
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. There exists a vulnerability in exception sanitization of vm2 for versions up to 3.9.16, allowing attackers to raise an unsanitized host exception inside `handleException()` which can be used to escape the sandbox and run arbitrary code in host context. This vulnerability was patched in the release of version `3.9.17` of `vm2`. There are no known workarounds for this vulnerability. Users are advised to upgrade.
vm2는 화이트리스트에 포함된 노드의 내장 모듈로 신뢰할 수 없는 코드를 실행할 수 있는 샌드박스입니다. 최대 3.9.16 버전의 vm2 예외에 취약점이 존재하므로 공격자는 샌드박스를 탈출하고 호스트 컨텍스트에서 임의 코드를 실행하는 데 사용할 수 있는 `handleException()` 내에서 비위생적인 호스트 예외를 발생시킬 수 있습니다. 이 취약점은 `vm2` 버전 `3.9.17`에서 패치되었습니다. 이 취약점에 대한 알려진 해결 방법은 없습니다. 사용자는 업그레이드하는 것이 좋습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
patriksimek
vm2
영향 받는 버전
- 3.9.17 미만
해결 버전
- 3.9.17 이상
참고 자료 4건
- gist.github.com https://gist.github.com/leesh3288/381b230b04936dd4d74aaf90cc8bb244 (새 창)
- github.com https://github.com/patriksimek/vm2/commit/4b22e87b102d97d45d112a0931dba1aef7eea049 (새 창)
- github.com https://github.com/patriksimek/vm2/commit/f3db4dee4d76b19869df05ba7880d638a880edd5 (새 창)
- github.com https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m (새 창)