🇰🇷 한글 설명
Axolotl 0.19.0 미만 버전의 multipack 패치 경로에서 trust_remote_code 설정이 False가 아닌 None으로 기본 설정되어 보안 검사를 우회하는 원격 코드 실행(RCE) 취약점이 존재합니다. 공격자가 악성 Hugging Face 모델 저장소를 base_model로 지정하도록 유도하면, AutoModelForCausalLM.from_pretrained 호출 시 trust_remote_code=True가 강제로 적용되어 임의의 파이썬 코드가 실행될 수 있습니다.
💡 쉬운 설명
신뢰할 수 없는 외부 모델을 불러올 때 보안 확인 절차를 건너뛰는 결함이 있습니다. 이를 통해 해커가 만든 악성 모델을 사용하면 사용자의 컴퓨터에서 해커의 명령어를 마음대로 실행할 수 있습니다.
🇺🇸 원문 (English)
Axolotl before 0.19.0 contains a remote code execution vulnerability in the multipack patch path where trust_remote_code defaults to None instead of False, causing the security guard to be bypassed. Attackers can execute arbitrary Python code by crafting a malicious Hugging Face model repository selected as base_model, which is loaded with hardcoded trust_remote_code=True during AutoModelForCausalLM.from_pretrained.
📍 영향받는 시스템
Axolotl 0.19.0 미만 버전
⚔️ 공격 벡터
악성 코드가 포함된 Hugging Face 모델 저장소를 base_model로 로드하도록 유도하여 원격에서 파이썬 코드 실행
🛡️ 대응 방법
Axolotl을 0.19.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 0.19.0보다 낮으면 취약한 상태입니다.
pip show axolotl | grep Version