Skip to content

fix(release): overlay the fixed zlib1g on runtime images - #2612

Merged
jeremi merged 2 commits into
mainfrom
fix/runtime-zlib1g
Nov 8, 2026
Merged

jeremi merged 2 commits into
mainfrom
fix/runtime-zlib1g

Conversation

@jeremi

@jeremi jeremi commented Nov 8, 2026

Copy link
Copy Markdown
Member

Why

Every release image fails the advisory policy on fixable zlib findings. The pinned Distroless cc-debian13 base carries zlib1g 1:1.3.dfsg+really1.3.1-1+b1, and DSA-6613-1 fixes it in 1:1.3.dfsg+really1.3.1-1+deb13u1 (CVE-2026-76844, CVE-2026-85091 and CVE-2026-27171). This blocks the next release.

What

  • Adds zlib1g 1:1.3.dfsg+really1.3.1-1+deb13u1 to the pinned runtime package overlay, beside libc6 and libssl3t64. Both architectures are pinned by SHA-256 to the debian-security snapshot 20261107T075304Z; the hashes match that snapshot's Packages.xz.
  • zlib1g is the first overlaid package with an epoch. The Version field keeps it; the archive file name drops it. The installer and the image checker now derive the file name without the epoch, and the Version check still compares the full version.
  • Removes the CVE-2026-85091 zlib1g exception from the ten advisory baselines. The overlay takes +b1 out of the images, and the release candidate check refuses an exception whose finding is fixed or absent.
  • Adds a test that every live exception on an overlaid package names the overlay version, so the next overlay cannot leave a stale exception behind.

Checks run

  • python3 -m unittest on test_check_debian13_images, test_check_advisory_baselines (54 ran, 1 skipped), test_advisory_renewal, test_check_release_image_oci_labels (23 ran), test_nightly_release: OK.
  • test_registry_release with PyYAML 6.0.2: 160 ran, OK, 1 skipped (platform-bound smoke).
  • release/scripts/check-debian13-images.py: passed.
  • The installer test runs the real script against fake dpkg, dpkg-deb and sha256sum; it was red on the epoch file name before the fix.
  • Built the overlay stages (pinned debian:trixie-slim into the pinned Distroless runtime) for linux/amd64 and linux/arm64 with the real packages. Both final images record zlib1g 1:1.3.dfsg+really1.3.1-1+deb13u1 under status.d and ship libz.so.1.3.1.
  • shellcheck and shfmt -d on the installer: clean.

Not verified here

  • No Grype or Syft scan ran locally. The release rehearsal's scan is the end-to-end confirmation that the zlib findings are gone.

The pinned Distroless cc-debian13 base carries zlib1g
1:1.3.dfsg+really1.3.1-1+b1. DSA-6613-1 fixes it in
1:1.3.dfsg+really1.3.1-1+deb13u1 (CVE-2026-76844, CVE-2026-85091 and
CVE-2026-27171), so release images fail the advisory policy on fixable
zlib findings until the base index ships that release.

Add zlib1g to the pinned runtime package overlay beside libc6 and
libssl3t64. It is the first overlaid package with an epoch: the Version
field keeps the epoch while the archive file name drops it, so the
installer and the image checker derive the file name without it.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Every advisory baseline accepted CVE-2026-85091 against zlib1g
1:1.3.dfsg+really1.3.1-1+b1. The overlay removes that version from the
images, and the release candidate check refuses an exception whose
finding is fixed or absent. Remove it, and test that every exception on
an overlaid package names the overlay version.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T08:52:47.020348Z 67dc1b0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jeremi
jeremi added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 786d593 Nov 8, 2026
204 of 210 checks passed
@jeremi
jeremi deleted the fix/runtime-zlib1g branch November 8, 2026 12:17
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