Skip to content

chore(deps): bump python from cea0e60 to a7fb1e6 - #301

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/docker/python-a7fb1e6
Closed

chore(deps): bump python from cea0e60 to a7fb1e6#301
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/docker/python-a7fb1e6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 9, 2026

Copy link
Copy Markdown
Contributor

Bumps python from cea0e60 to a7fb1e6.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps python from `cea0e60` to `a7fb1e6`.

---
updated-dependencies:
- dependency-name: python
  dependency-version: 3.14-slim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file docker Pull requests that update docker code labels Aug 9, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 9, 2026 07:52

Copy link
Copy Markdown
Collaborator

Reviewed — the Trivy failure on this PR is real but is a detection change, not a security regression:

  • The new digest is CPython 3.14.7, which bundles pip 26.2.1. pip 26.2 started shipping a CycloneDX SBOM alongside its vendored libraries (NEWS.rst: "Include a CycloneDX SBOM file alongside vendored libraries").
  • Trivy reads that SBOM and flags pip's vendored msgpack 1.1.2 (GHSA-6v7p-g79w-8964) and setuptools/pkg_resources 70.3.0 (CVE-2025-47273) — both HIGH with an upstream fix, so the fixable-HIGH gate trips.
  • The current image's pip 26.1.2 vendors the exact same versions (src/pip/_vendor/vendor.txt is identical for these two entries) — they were simply undeclared, so the old digest scans clean. Nothing new is introduced by this bump.
  • The vulnerable copies live inside pip/_vendor/ and are only reachable by running pip, which the runtime image never does (the venv is built by uv in the builder stage).

Merging this as-is would leave main's docker job red on the post-merge push (the exact situation #282 guarded against), and no future digest fixes it until CPython bundles a pip with a patched vendored set. Since the runtime image has no use for pip at all, branch claude/dependabot-pr-review-p4dsit applies this same digest bump plus removes pip/ensurepip from the runtime stage — resolving the findings at the source and keeping future pip-vendored CVEs out of the gate. Once that lands on main, Dependabot should close this PR automatically.


Generated by Claude Code

icebergai-review-bot Bot pushed a commit that referenced this pull request Aug 11, 2026
…ntime image (#304)

The python:3.14-slim digest bump (Dependabot #301) failed the Trivy image
gate: the new digest is CPython 3.14.7, which bundles pip 26.2.1, and pip
26.2 started shipping a CycloneDX SBOM declaring its vendored libraries.
Trivy now sees vendored msgpack 1.1.2 (GHSA-6v7p-g79w-8964, fixed 1.2.1)
and setuptools/pkg_resources 70.3.0 (CVE-2025-47273, fixed 78.1.1) — both
HIGH with an upstream fix, so the fixable-HIGH gate trips. The previous
image's pip 26.1.2 vendors the exact same versions, just without the SBOM,
so the bump introduces no actual regression; the copies live inside pip's
_vendor tree and are only reachable by running pip itself.

The runtime image never runs pip — the venv is resolved by uv in the
builder stage and copied across — so remove pip, its console scripts and
the ensurepip bootstrap wheel from the runtime stage. That resolves the
findings at the source, keeps future pip-vendored CVEs out of the gate,
and extends the existing "build-only tooling stays out of the runtime"
rule to the base image's own bootstrap tooling.

Supersedes #301.


Claude-Session: https://claude.ai/code/session_01RfHDhw6vo9ZeEfEcB1rvS2

Co-authored-by: Claude <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Looks like python is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 11, 2026
@dependabot
dependabot Bot deleted the dependabot/docker/python-a7fb1e6 branch August 11, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant