🇰🇷 한글 설명
Adversarial Robustness Toolbox (ART) 1.20.1 이하 버전의 Kubeflow 컴포넌트에서 torch.load()가 보안 제한 없이 사용되어 임의의 Python 객체를 역직렬화할 수 있습니다. 공격자는 악의적인 모델 파일을 업로드하거나 model_id를 조작하여 파이프라인 실행 시 원격 코드를 실행할 수 있습니다.
💡 쉬운 설명
ART 라이브러리가 외부 모델 파일을 안전하지 않게 읽어서 숨겨진 악성 코드가 자동으로 실행될 수 있습니다. 공격자는 조작된 모델 파일을 통해 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
The Adversarial Robustness Toolbox (ART) thru 1.20.1 contains an insecure deserialization vulnerability (CWE-502) in its Kubeflow component's model loading functionality. When loading model weights from a file (e.g., model.pt) during robustness evaluation, the code uses torch.load() without the security-restrictive weights_only=True parameter. This allows the deserialization of arbitrary Python objects via the Pickle module. An attacker can exploit this by uploading a maliciously crafted model file to an object storage location referenced by the pipeline, or by controlling the model_id parameter to point to such a file. When the pipeline loads the model, the malicious payload is executed, leading to remote code execution.
📍 영향받는 시스템
Adversarial Robustness Toolbox (ART) <= 1.20.1
⚔️ 공격 벡터
악의적인 모델 파일(.pt)을 오브젝트 스토리지에 업로드하거나 model_id 파라미터를 제어하여 파이프라인 모델 로드 시 직렬화된 페이로드 실행
🛡️ 대응 방법
ART를 1.20.2 이상으로 업그레이드하거나 torch.load(weights_only=True)로 변경
🔧 검증 코드
출력된 버전이 1.20.1 이하면 취약, 1.20.2 이상이면 패치됨
python3 -c "import art; print(art.__version__)" 2>/dev/null