Skip to content

build(image): bump base image digest for OS CVE remediation - #572

Merged
c-vigo merged 1 commit into
devfrom
chore/565-bump-base-digest-os-upgrades
Jun 9, 2026
Merged

c-vigo merged 1 commit into
devfrom
chore/565-bump-base-digest-os-upgrades

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Bump the pinned python:3.14-slim-bookworm base image digest to the latest upstream release and refresh container security documentation. The digest bump clears fixable HIGH/CRITICAL OS-package CVEs (curl, rsync, libssh2, libexpat, krb5, glibc, etc.); the existing targeted libgnutls30=3.7.9-2+deb12u7 upgrade is retained because the new base still ships deb12u6.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Containerfile
    • Bump base digest to sha256:ec58d916f9e24a6035cab2bdf07f6206c4cc092a16613c60597534711332d9d6
    • Update inline security comments (Dependabot → Renovate, weekly → nightly scan)
    • Retain existing libgnutls30=3.7.9-2+deb12u7 targeted upgrade
  • docs/CONTAINER_SECURITY.md
    • Correct stale policy facts: Renovate (not Dependabot), Python 3.14, nightly scan schedule, gate behaviour
  • CHANGELOG.md and assets/workspace/.devcontainer/CHANGELOG.md

Changelog Entry

Security

  • Bump base image digest and clear fixable OS-package CVEs (#565)
    • Pin python:3.14-slim-bookworm to latest upstream digest (sha256:ec58d916…)
    • Retain targeted libgnutls30=3.7.9-2+deb12u7 upgrade (new base ships deb12u6; fixable GnuTLS CVEs require deb12u7)
    • CI Trivy gate passes with zero fixable HIGH/CRITICAL OS findings after rebuild

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

  • just build — image builds successfully with new digest
  • Trivy gate (HIGH,CRITICAL, ignore-unfixed, .trivyignore) — pass (zero fixable findings)
  • just test-image — 67/67 pass
  • hadolint Containerfile — pass
  • Full just test — 270 pytest + BATS pass except one pre-existing flaky worktree.bats Cursor Agent prompt test (unrelated to this change)

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

No additional targeted --only-upgrade entries were needed beyond the existing GnuTLS pin; the digest bump alone cleared all other fixable HIGH/CRITICAL OS CVEs. Remaining unfixed findings (perl, zlib) are fix_deferred/will_not_fix and do not gate CI.

Refs: #565

- Pin python:3.14-slim-bookworm to latest upstream digest
- Retain targeted libgnutls30 upgrade (base ships deb12u6; u7 required)
- Refresh CONTAINER_SECURITY.md (Renovate, 3.14, nightly scan)
- Add Unreleased changelog entry for #565

Refs: #565
@c-vigo c-vigo self-assigned this Jun 9, 2026
@c-vigo
c-vigo merged commit c130c8e into dev Jun 9, 2026
16 checks passed
@c-vigo
c-vigo deleted the chore/565-bump-base-digest-os-upgrades branch June 9, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant