🔍 CVE-2026-24123

7.4
CVSS Score
HIGH
2026-01-26
2026-01-27 14:59
✅ 완료

🇰🇷 한글 설명

BentoML 라이브러리에서 발생하는 경로 추적 취약점으로, 공격자가任意 파일을 추출하여 supply chain 공격을 유발할 수 있습니다.

💡 쉬운 설명

BentoML 라이브러리는 AI 애플리케이션과 모델 추론을 위한 온라인 서빙 시스템을 구축하는 데 사용됩니다. 이 라이브러리의 구성 파일인 bentofile.yaml에서 경로 추적 공격이 가능합니다. 이는 공격자가任意 파일을 추출하여 서플라이 체인 공격을 유발할 수 있습니다.

🇺🇸 원문 (English)

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Prior to version 1.4.34, BentoML's `bentofile.yaml` configuration allows path traversal attacks through multiple file path fields (`description`, `docker.setup_script`, `docker.dockerfile_template`, `conda.environment_yml`). An attacker can craft a malicious bentofile that, when built by a victim, exfiltrates arbitrary files from the filesystem into the bento archive. This enables supply chain attacks where sensitive files (SSH keys, credentials, environment variables) are silently embedded in bentos and exposed when pushed to registries or deployed. Version 1.4.34 contains a patch for the issue.

📍 영향받는 시스템

BentoML 버전 1.4.34 이전

⚔️ 공격 벡터

공격자는 bentofile.yaml 구성 파일을 조작하여任意 파일을 추출하고, 이는 서플라이 체인 공격을 유발할 수 있습니다.

🛡️ 대응 방법

BentoML 버전을 1.4.34 이상으로 업데이트합니다.

🔧 검증 코드

로컬 시스템에서 Python을 실행하여 BentoML 라이브러리 버전을 확인합니다. 필요한 권한은 None이며, 의존성은 pkg_resources가 필요합니다.

Shell / Script
import pkg_resources
bentoml_version = pkg_resources.get_distribution('bentoml').version
if bentoml_version < '1.4.34':
    print({"result": "취약", "reason": "BentoML 버전이 1.4.34 미만입니다."})
else:
    print({"result": "양호", "reason": "BentoML 버전이 1.4.34 이상입니다."})

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python