🇰🇷 한글 설명
ChromaDB Python 프로젝트 0.4.17 이상 버전에서 발생하는 코드 주입 취약점입니다. UPDATE_COLLECTION 권한을 가진 인증된 공격자가 악성 모델 저장소와 trust_remote_code 설정을 전송하여 서버에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
권한을 가진 사용자가 조작된 모델 파일을 서버에 업로드하면, 서버가 이를 실행하면서 해커의 명령을 수행하게 되는 보안 결함입니다. 이를 통해 공격자는 서버의 제어권을 완전히 탈취할 수 있습니다.
🇺🇸 원문 (English)
A code injection vulnerability in version 0.4.17 or later of the ChromaDB Python project allows an authenticated attacker to run arbitrary code on the server by sending a malicious model repository and trust_remote_code set to true in the /api/v2/tenants/default_tenant/databases/default_database/collections/{collection_id} if they have the UPDATE_COLLECTION permission.
📍 영향받는 시스템
ChromaDB Python project version 0.4.17 or later
⚔️ 공격 벡터
인증된 공격자가 특정 API 엔드포인트에 악성 모델 저장소와 trust_remote_code=true 설정을 포함하여 요청을 전송
🛡️ 대응 방법
ChromaDB를 최신 보안 패치가 적용된 버전으로 업데이트하고, 신뢰할 수 없는 모델의 remote code 실행 설정을 비활성화하십시오.
🔧 검증 코드
출력된 버전 번호가 0.4.17 이상인지 확인하십시오.
pip show chromadb | grep Version