🇰🇷 한글 설명
SGLangs의 멀티모달 생성 런타임에서 --enable-custom-logit-processor 옵션이 활성화될 때 dill.loads()를 통해 검증 없이 Python 객체가 역직렬화되어 인증 없는 원격 코드 실행이 가능합니다. 공격자는 악의적인 직렬화 객체를 전송하여 서버에서 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
SGLangs 시스템이 인터넷에서 받은 파일을 검증 없이 실행해버립니다. 해커가 원격으로 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
SGLangs multimodal generation runtime is vulnerable to unauthenticated remote code execution when the --enable-custom-logit-processor option is enabled, as Python objects loaded via dill.loads() will be deserialized without validation.
📍 영향받는 시스템
SGLangs multimodal generation runtime with --enable-custom-logit-processor option enabled
⚔️ 공격 벡터
Unauthenticated attacker sends malicious dill-serialized Python objects to the runtime endpoint
🛡️ 대응 방법
Disable --enable-custom-logit-processor option or upgrade to patched SGLangs version with input validation
🔧 검증 코드
설치된 버전 확인 후 --enable-custom-logit-processor 옵션 활성화 여부 확인, 활성화되면 즉시 비활성화 필요
pip show sglang | grep Version && ps aux | grep -i sglang | grep -i custom-logit