🔍 CVE-2025-54886

8.4
CVSS Score
HIGH
2025-08-08
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

skops 0.12.0 이하 버전의 Card.get_model 함수에서 .zip 파일이 아닌 형식으로 모델을 로드할 때 joblib으로 무조건 폴백되어 임의의 코드 실행을 야기합니다. joblib은 로드 중 제약 없이 악의적 코드 실행이 가능하며, 안전한 skops 로더의 검증을 우회할 수 있습니다.

💡 쉬운 설명

skops 라이브러리가 모델 파일을 로드할 때 안전하지 않은 방식(joblib)을 사용하여 악의적인 코드가 실행될 수 있습니다. 모델 파일을 받을 때 신뢰할 수 없는 출처에서의 파일은 실행하지 않아야 합니다.

🇺🇸 원문 (English)

skops is a Python library which helps users share and ship their scikit-learn based models. In versions 0.12.0 and below, the Card.get_model does not contain any logic to prevent arbitrary code execution. The Card.get_model function supports both joblib and skops for model loading. When loading .skops models, it uses skops' secure loading with trusted type validation, raising errors for untrusted types unless explicitly allowed. However, when non-.zip file formats are provided, the function silently falls back to joblib without warning. Unlike skops, joblib allows arbitrary code execution during loading, bypassing security measures and potentially enabling malicious code execution. This issue is fixed in version 0.13.0.

📍 영향받는 시스템

skops 0.12.0 이하 버전

⚔️ 공격 벡터

신뢰할 수 없는 .pkl, .joblib 등 비-.zip 형식의 모델 파일을 Card.get_model()로 로드하여 임의 코드 실행

🛡️ 대응 방법

skops를 0.13.0 이상으로 업그레이드

🔧 검증 코드

Version이 0.13.0 이상이면 안전함; 0.12.0 이하면 업그레이드 필요

Shell / Script
pip show skops | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python