Skip to content

fix: the image is built on Debian 13, which carries the libssl3 fix - #156

Merged
AlexeyShalaev merged 3 commits into
masterfrom
fix/image-debian-13
Dec 1, 2026
Merged

AlexeyShalaev merged 3 commits into
masterfrom
fix/image-debian-13

Conversation

@AlexeyShalaev

Copy link
Copy Markdown
Member

Summary

The image's runtime base, gcr.io/distroless/cc-debian12:nonroot, still ships libssl3 3.0.20-1~deb12u2 (CVE-2026-84782), and the .trivyignore entry for it expires on 2026-12-08. cc-debian13:nonroot carries a fixed OpenSSL, so this moves the image there instead of extending the ignore again.

  • Builder: python:3.15-slim-trixie. Runtime: cc-debian13:nonroot. .trivyignore is removed.
  • Trixie's _decimal links the system libmpdec, so libmpdec.so.4 is now copied. Without it import decimal still succeeds, silently on the pure Python version.
  • cc-debian13 ships zlib itself, so the builder's libz is no longer copied over it.
  • The closure test now imports every extension module in lib-dynload, and names the ones the image carries a library for. It fails on the image without libmpdec, and with _bz2, _decimal, zlib or _uuid removed.

On arm64 the image goes from 144 to 150 MiB (budget 160).

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring / internal

Checklist

  • Tests added or updated
  • make check passes locally (ruff + mypy)
  • CHANGELOG.md: a ## x.y.z — <headline> section at the top, for a user-visible change
  • Documentation updated (if the public API changed), docs/agents.md included

AI Review

Commit 539baa2, Claude Sonnet 5.5, fixes after it not reviewed again

  • Correctness - 1 fixed
  • Security - 1 fixed
  • Performance - no findings
  • Design & Style - no findings
  • Tests - 2 fixed
  • Compatibility - no findings

@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AlexeyShalaev
AlexeyShalaev merged commit 5c31c26 into master Dec 1, 2026
33 checks passed
@AlexeyShalaev
AlexeyShalaev deleted the fix/image-debian-13 branch December 1, 2026 19:42
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