fix(examples): bump uv base image to patched 0.11.21-python3.11-trixie-slim
What
Bumps the uv base image in the four example Dockerfiles from the floating ghcr.io/astral-sh/uv:python3.11-bookworm-slim tag to the pinned ghcr.io/astral-sh/uv:0.11.21-python3.11-trixie-slim.
examples/docker-template/docker/Dockerfileexamples/mcp_servers/authorization/docker/Dockerfileexamples/mcp_servers/logging/docker/Dockerfileexamples/mcp_servers/pctx_code_mode/docker/Dockerfile
Why
The uv binary is written in Rust and statically vendors rustls-webpki, so container scanners report that crate as a package present in any image built on a uv base.
The floating python3.11-bookworm-slim tag is frozen at uv 0.9.30, whose uv binary vendors rustls-webpki 0.103.8, which is vulnerable to GHSA-82j2-j2ch-gfr8 (HIGH: DoS via panic on a malformed CRL BIT STRING, fixed in 0.103.13). uv 0.11.21 vendors rustls-webpki 0.103.13, so pinning to it clears the advisory.
Newer uv releases moved the Python + Debian bundled image from bookworm-slim (Debian 12) to trixie-slim (Debian 13); the old *-bookworm-slim tags stopped updating at 0.9.30. python3.11-trixie-slim is the maintained successor, so the bump also moves the example OS layer to current Debian stable.
Verification
uv0.11.21Cargo.lockpinsrustls-webpki 0.103.13(vs 0.103.8 in 0.9.30, the frozen floating tag).- GHSA-82j2-j2ch-gfr8 first patched version is
0.103.13(confirmed via the GitHub advisory API). ghcr.io/astral-sh/uv:0.11.21-python3.11-trixie-slimexists and is multi-arch (linux/amd64+linux/arm64); index digestsha256:64bf733d19003ab1de5d88a3f4494937637e737452bc980083cb67655419e932.- No tests or other repo files reference the base-image tag; the four
build:-based compose files inherit the change automatically.
Scope
Examples only. The actual deployed worker / toolkit container images flagged in the Vanta finding are built in private infra and need the same uv bump applied there to clear the scanned-image alert. This PR does not touch those.
🤖 Generated with Claude Code
[!NOTE] Low Risk Examples-only base-image tag changes with no application or runtime logic edits; main caveat is Debian 12→13 in the image layer for local/example builds.
Overview Updates the
FROMline in four example Dockerfiles from the floatingghcr.io/astral-sh/uv:python3.11-bookworm-slimtag to the pinnedghcr.io/astral-sh/uv:0.11.21-python3.11-trixie-slim.That pins a newer
uvbuild (with patchedrustls-webpki) and shifts the bundled OS from bookworm to trixie on the maintained image line. Affected paths:examples/docker-template/docker/Dockerfileand the threeexamples/mcp_servers/*/docker/Dockerfilecopies; no other Dockerfile steps change.Reviewed by Cursor Bugbot for commit 5eea1bf29f12d48c8c340138f2f20170a1deed03. Bugbot is set up for automated code reviews on this repo. Configure here.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.