CVE-2025-5120 Sandbox Escape Vulnerability in huggingface/smolagents
샌드박스 탈출: 포옹면/스몰 에이전트의 취약성
설명
A sandbox escape vulnerability was identified in huggingface/smolagents version 1.14.0, allowing attackers to bypass the restricted execution environment and achieve remote code execution (RCE). The vulnerability stems from the local_python_executor.py module, which inadequately restricts Python code execution despite employing static and dynamic checks. Attackers can exploit whitelisted modules and functions to execute arbitrary code, compromising the host system. This flaw undermines the core security boundary intended to isolate untrusted code, posing risks such as unauthorized code execution, data leakage, and potential integration-level compromise. The issue is resolved in version 1.17.0.
샌드박스 탈출 취약점은 포옹 얼굴/스몰 에이전트 버전 1.14.0에서 확인되어 공격자가 제한된 실행 환경을 우회하고 원격 코드 실행(RCE)을 달성할 수 있도록 합니다. 이 취약점은 local_python_executor.py 모듈에서 비롯되며 정적 및 동적 검사를 사용함에도 불구하고 Python 코드 실행을 부적절하게 제한합니다. 공격자들은 화이트리스트에 등록된 모듈과 함수를 이용하여 임의의 코드를 실행하여 호스트 시스템을 손상시킬 수 있다. 이 결함은 신뢰할 수 없는 코드를 격리하려는 핵심 보안 경계를 훼손하여 무단 코드 실행, 데이터 유출 및 잠재적 통합 수준 손상과 같은 위험을 초래합니다. 이 문제는 버전 1.17.0에서 해결되었습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
huggingface
huggingface/smolagents
영향 받는 버전
- 1.17.0 미만
해결 버전
- 1.17.0 이상