🔍 CVE-2026-33744

7.8
CVSS Score
HIGH
2026-03-27
2026-10-07 08:10
✅ 완료

🇰🇷 한글 설명

BentoML 1.4.37 미만 버전에서 `bentofile.yaml` 파일의 `docker.system_packages` 필드에 입력된 문자열이 적절한 검증 없이 Dockerfile의 `RUN` 명령어로 직접 삽입되는 취약점이 발견되었습니다. 공격자가 조작된 설정 파일을 통해 `bentoml containerize` 또는 `docker build` 과정에서 임의의 명령어를 실행할 수 있습니다.

💡 쉬운 설명

설정 파일에 적힌 패키지 이름이 명령어로 오인되어 실행되는 보안 허점이 있습니다. 나쁜 의도를 가진 설정 파일을 사용하면 컴퓨터에 몰래 명령을 내릴 수 있습니다.

🇺🇸 원문 (English)

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to 1.4.37, the `docker.system_packages` field in `bentofile.yaml` accepts arbitrary strings that are interpolated directly into Dockerfile `RUN` commands without sanitization. Since `system_packages` is semantically a list of OS package names (data), users do not expect values to be interpreted as shell commands. A malicious `bentofile.yaml` achieves arbitrary command execution during `bentoml containerize` / `docker build`. Version 1.4.37 fixes the issue.

📍 영향받는 시스템

BentoML versions prior to 1.4.37

⚔️ 공격 벡터

조작된 bentofile.yaml 파일을 사용하여 Docker 빌드 시 임의의 쉘 명령어를 주입

🛡️ 대응 방법

BentoML을 1.4.37 버전 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과로 1.4.37 이상의 버전이 출력되면 취약점이 해결된 상태입니다.

Shell / Script
bentoml --version | grep -E '1\.(4\.(3[7-9]|[4-9][0-9])|[5-9][0-9]|[1-9][0-9]{2,})'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Docker