fix(examples): bump uv base image to patched 0.11.21-python3.11-trixie-slim#876
Open
EricGustin wants to merge 1 commit into
Open
fix(examples): bump uv base image to patched 0.11.21-python3.11-trixie-slim#876EricGustin wants to merge 1 commit into
EricGustin wants to merge 1 commit into
Conversation
…e-slim The example Docker images built FROM `ghcr.io/astral-sh/uv:python3.11-bookworm-slim`. That floating tag is frozen at uv 0.9.30, whose bundled `uv` binary vendors rustls-webpki 0.103.8, vulnerable to GHSA-82j2-j2ch-gfr8 (HIGH: DoS via panic on malformed CRL BIT STRING, fixed in 0.103.13). Pin to uv 0.11.21, which vendors rustls-webpki 0.103.13. Newer uv moved the Python+Debian bundled image from `bookworm-slim` (Debian 12) to `trixie-slim` (Debian 13), so the maintained successor tag is `python3.11-trixie-slim`. Verified: uv 0.11.21 Cargo.lock pins rustls-webpki 0.103.13; the `0.11.21-python3.11-trixie-slim` tag exists and is multi-arch (amd64 + arm64). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
jottakka
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the uv base image in the four example Dockerfiles from the floating
ghcr.io/astral-sh/uv:python3.11-bookworm-slimtag to the pinnedghcr.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/DockerfileWhy
The
uvbinary is written in Rust and statically vendorsrustls-webpki, so container scanners report that crate as a package present in any image built on a uv base.The floating
python3.11-bookworm-slimtag is frozen at uv 0.9.30, whoseuvbinary 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) totrixie-slim(Debian 13); the old*-bookworm-slimtags stopped updating at 0.9.30.python3.11-trixie-slimis 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).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.build:-based compose files inherit the change automatically.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 5eea1bf. Bugbot is set up for automated code reviews on this repo. Configure here.