7.4 HIGH
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): REQUIRED
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): NONE
- Availability impact (A): NONE
BentoML has a Path Traversal via Bentofile Configuration
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.
References
-
https://github.com/bentoml/BentoML/security/advisories/GHSA-6r62-w2q3-48hf x_refsource_CONFIRM
-
https://github.com/bentoml/BentoML/releases/tag/v1.4.34 x_refsource_MISC
Affected products
- ==< 1.4.34
Matching in nixpkgs
pkgs.python312Packages.bentoml
Build Production-Grade AI Applications
pkgs.python313Packages.bentoml
Build Production-Grade AI Applications
Package maintainers
-
@natsukium Tomoya Otabi <nixpkgs@natsukium.com>
-
@happysalada Raphael Megzari <raphael@megzari.com>