🇰🇷 한글 설명
BentoML의 클라우드 배포 경로에서 system_packages 변수가 셸 명령어에 직접 삽입되는 취약점이 발견되었습니다. 이로 인해 BentoCloud의 CI/CD 인프라에서 악성 스크립트가 실행될 수 있는 원격 코드 실행(RCE) 위험이 존재하며, 이는 버전 1.4.38에서 수정되었습니다.
💡 쉬운 설명
AI 모델 배포 도구인 BentoML에서 입력값을 제대로 검사하지 않고 서버 명령어로 사용하는 허점이 발견되었습니다. 공격자가 이를 이용해 클라우드 관리 서버에서 마음대로 명령어를 실행할 수 있는 상태입니다.
🇺🇸 원문 (English)
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.38, the cloud deployment path in src/bentoml/_internal/cloud/deployment.py was not included in the fix for CVE-2026-33744. Line 1648 interpolates system_packages directly into a shell command using an f-string without any quoting. The generated script is uploaded to BentoCloud as setup.sh and executed on the cloud build infrastructure during deployment, making this a remote code execution on the CI/CD tier. This vulnerability is fixed in 1.4.38.
📍 영향받는 시스템
BentoML 1.4.38 미만 버전
⚔️ 공격 벡터
system_packages 변수에 악성 셸 명령어를 주입하여 BentoCloud CI/CD 인프라에서 실행하게 함
🛡️ 대응 방법
BentoML 패키지를 1.4.38 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 숫자가 1.4.38보다 낮으면 취약한 상태입니다.
pip show bentoml | grep Version