🇰🇷 한글 설명
Hugging Face smolagents의 pickle 데이터 파싱 과정에서 사용자 입력에 대한 검증이 부족하여 신뢰할 수 없는 데이터의 역직렬화가 발생합니다. 이로 인해 원격 공격자는 인증 없이 임의의 Python 코드를 서비스 계정 권한으로 실행할 수 있습니다.
💡 쉬운 설명
Hugging Face의 smolagents 소프트웨어가 신뢰할 수 없는 데이터를 안전하지 않은 방식으로 처리합니다. 이를 이용해 공격자가 서버에서 자신의 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
Hugging Face smolagents Remote Python Executor Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face smolagents. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of pickle data. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28312.
📍 영향받는 시스템
Hugging Face smolagents (영향받은 특정 버전은 공식 패치 공지 확인 필요)
⚔️ 공격 벡터
pickle 역직렬화 페이로드를 통한 원격 코드 실행 (인증 불필요)
🛡️ 대응 방법
Hugging Face에서 제공하는 최신 보안 패치 버전으로 즉시 업그레이드
🔧 검증 코드
Version 항목이 표시되면 설치된 버전 확인 후, Hugging Face 보안 공지에서 최신 안전 버전과 비교하여 업그레이드 필요 여부 판단
pip show smolagents | grep Version