🔍 CVE-2025-53372

7.5
CVSS Score
HIGH
2025-07-08
2026-06-17 09:38
✅ 완료

🇰🇷 한글 설명

node-code-sandbox-mcp의 child_process.execSync에서 입력값을 검증하지 않아 명령어 주입 취약점이 발생합니다. 공격자가 임의의 시스템 명령을 실행할 수 있으며, Docker 샌드박스 보호를 우회하여 호스트 머신에서 원격 코드 실행이 가능합니다.

💡 쉬운 설명

node-code-sandbox-mcp 프로그램이 사용자 입력을 제대로 검사하지 않아 해커가 마음대로 컴퓨터 명령어를 실행할 수 있습니다. 도커로 보호된다고 생각했지만 실제로는 호스트 컴퓨터도 접근 가능합니다.

🇺🇸 원문 (English)

node-code-sandbox-mcp is a Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript. Prior to 1.3.0, a command injection vulnerability exists in the node-code-sandbox-mcp MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.execSync, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges on the host machine, bypassing the sandbox protection of running code inside docker. This vulnerability is fixed in 1.3.0.

📍 영향받는 시스템

node-code-sandbox-mcp 1.3.0 미만의 모든 버전

⚔️ 공격 벡터

MCP 서버에 악의적인 파라미터를 포함한 요청 전송으로 child_process.execSync에 시스템 명령어 주입

🛡️ 대응 방법

node-code-sandbox-mcp를 1.3.0 이상으로 업그레이드

🔧 검증 코드

출력된 버전이 1.3.0 이상이면 패치됨, 미만이면 취약함

Shell / Script
npm list node-code-sandbox-mcp 2>/dev/null | grep -oP '(?<=node-code-sandbox-mcp@)[0-9.]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Docker