🇰🇷 한글 설명
vLLM 0.7.3 미만 버전에서 사용자가 제공한 mm_processor_kwargs.code_revision 값이 Transformers의 AutoProcessor.from_pretrained로 전달되는 취약점이 발견되었습니다. trust_remote_code가 활성화된 경우, 공격자는 모델 저장소의 특정 리비전을 선택하여 vLLM API 프로세스 내에서 임의의 파이썬 코드를 실행할 수 있습니다.
💡 쉬운 설명
해커가 특수하게 조작된 요청을 보내면 서버가 악성 코드가 포함된 모델 파일을 불러오게 만들어 서버를 장악할 수 있는 보안 약점입니다. 인증 없이도 공격이 가능하여 매우 위험합니다.
🇺🇸 원문 (English)
vLLM from 0.7.3 before 0.31.0 forwards the request-supplied mm_processor_kwargs.code_revision to Transformers AutoProcessor.from_pretrained, letting clients select which revision of a model's dynamic processor code is imported when trust_remote_code is enabled. An attacker controlling a revision in the served model repository can send a multimodal request to the unauthenticated /tokenize endpoint to execute arbitrary Python in the vLLM API process.
📍 영향받는 시스템
vLLM versions < 0.31.0
⚔️ 공격 벡터
인증되지 않은 사용자가 /tokenize 엔드포인트로 조작된 mm_processor_kwargs.code_revision 값을 포함한 멀티모달 요청을 전송
🛡️ 대응 방법
vLLM을 0.31.0 이상의 최신 버전으로 업데이트하거나, trust_remote_code 설정을 비활성화하십시오.
🔧 검증 코드
출력된 버전이 0.31.0 미만이면 해당 취약점에 노출된 상태입니다.
pip show vllm 2>/dev/null | grep Version