Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Reference: https://hub.docker.com/r/vllm/vllm-openai-cpu

FROM vllm/vllm-openai-cpu:v0.23.0
FROM vllm/vllm-openai-cpu:v0.25.0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Containerfile =="
git ls-files -- vllm/Containerfile
wc -l vllm/Containerfile
cat -n vllm/Containerfile | sed -n '1,40p'

echo "== Any digest-pinned vllm base image references =="
rg -n --no-heading 'FROM\s+vllm/vllm-openai-cpu:.*`@sha256`:|FROM\s+vllm/vllm-openai-cpu:[^[:space:]]+' vllm/Containerfile .github . || true

Repository: opendatahub-io/ogx-distribution

Length of output: 1965


Pin the vLLM base image by digest.

vllm/vllm-openai-cpu:v0.25.0 is a mutable supply-chain boundary; a retagged image or compromised publish path can silently change the runtime contents (CWE-494). Lock it to the manifest digest instead of the tag.

Patch
-FROM vllm/vllm-openai-cpu:v0.25.0
+FROM vllm/vllm-openai-cpu:v0.25.0@sha256:<manifest-digest>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@vllm/Containerfile` at line 5, Update the Containerfile’s FROM declaration to
pin vllm/vllm-openai-cpu to its immutable manifest digest, replacing the mutable
v0.25.0 tag while preserving the selected image.

Source: Path instructions


RUN pip install "huggingface-hub[cli]"

Expand Down
Loading