BentoML through 1.4.39 Dockerfile Instruction Injection via docker.env Keys
BentoML
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| bentoml BentoML |
| No fix yet |
Original description
BentoML through 1.4.39 contains a Dockerfile instruction injection vulnerability that allows attackers to add arbitrary build instructions by embedding newlines in docker.env mapping keys rendered by the legacy base.j2 template. Attackers can supply a crafted bentofile.yaml or imported bento archive so that bentoml containerize executes injected RUN instructions during docker build, accessing build secrets and poisoning images.
From the CVE record · VulnCheck