🔍 CVE-2026-31228

9.8
CVSS Score
CRITICAL
2026-05-12
2026-10-19 22:10
✅ 완료

🇰🇷 한글 설명

ART(Adversarial Robustness Toolbox) 1.20.1 이하에서 Kubeflow 컴포넌트의 robustness evaluation 함수가 사용자 입력 문자열을 검증 없이 eval()로 처리하여 원격 코드 실행이 가능한 취약점입니다. 공격자는 LossFn, Optimizer 파라미터에 악의적 Python 코드를 삽입하여 ART를 실행하는 시스템을 완전히 장악할 수 있습니다.

💡 쉬운 설명

ART 라이브러리가 사용자가 입력한 텍스트를 검사 없이 그대로 Python 코드로 실행해버립니다. 공격자가 악성 명령을 숨겨서 보낼 수 있고, 서버가 그 명령을 실행하게 됩니다.

🇺🇸 원문 (English)

The Adversarial Robustness Toolbox (ART) thru 1.20.1 contains a remote code execution vulnerability in its Kubeflow component. The robustness evaluation function for PyTorch models uses the unsafe eval() function to dynamically evaluate user-supplied strings for the LossFn and Optimizer parameters without any sanitization or security restrictions. An attacker can exploit this by providing a specially crafted string that contains arbitrary Python code, which will be executed when eval() is called, leading to complete compromise of the system running the ART evaluation.

📍 영향받는 시스템

Adversarial Robustness Toolbox (ART) <= 1.20.1 (Kubeflow 컴포넌트 사용 시)

⚔️ 공격 벡터

HTTP/REST API를 통해 LossFn 또는 Optimizer 파라미터에 Python eval 가능한 악성 코드 문자열 전송

🛡️ 대응 방법

ART를 최신 버전(1.21.0+)으로 업그레이드하고, Kubeflow 컴포넌트 비활성화 또는 입력값 엄격한 화이트리스트 검증 구현

🔧 검증 코드

Version 1.20.1 이하가 출력되면 취약, 1.21.0 이상이면 안전

Shell / Script
pip show adversarial-robustness-toolbox | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python