Skip to content

Re-pin the distroless runtime base with the fixed libzstd1; empty the scan exceptions (#837) - #862

Merged
ncecere merged 2 commits into
mainfrom
fix/837-repin-runtime-base
Nov 25, 2026
Merged

ncecere merged 2 commits into
mainfrom
fix/837-repin-runtime-base

Conversation

@ncecere

@ncecere ncecere commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #837.

What changes

  • The runtime base is re-pinned: gcr.io/distroless/cc-debian13:nonroot from sha256:cb87acc5… to sha256:29ee70762214fe8190cea04ef1c0a84a8365879e047ce8f911ae5a5ab2355fa2, in Dockerfile, deploy/loadtest/Dockerfile, APPROVED_RUNTIME (ci.yml, tests/supply-chain/lib.mjs) and the regenerated job pin (one line).
  • The scan exception is removed: .github/trivy-exceptions.yaml is back to vulnerabilities: []. The mechanism from A dated, package-scoped exception in the image scans for CVE-2026-124851 (#837) #854 and its tests stay.
  • The release note says what happened and that no release was tagged while the exception was in force.

Why now

Distroless merged its Debian snapshot update on 2026-11-25 at 20:49 UTC (GoogleContainerTools/distroless#2273), and the tag now resolves to the digest above.

What the new base is

Check Result
The tag :nonroot resolves to sha256:29ee7076… (an OCI index; linux/amd64 and linux/arm64 present)
Signature (cosign verify, keyless) valid for keyless@distroless.iam.gserviceaccount.com, issuer https://accounts.google.com, transparency log checked; another identity is refused
Pinned Trivy 0.70.0, no ignore file, amd64 exit 0, no finding
Pinned Trivy 0.70.0, no ignore file, arm64 exit 0, no finding
Same scans with the emptied exceptions file, as CI passes it exit 0

Packages, old to new (the same on amd64 and arm64; 14 packages before and after, none added or removed):

Package Before After
libzstd1 1.5.7+dfsg-1 1.5.7+dfsg-1+deb13u1
libssl3t64 3.5.7-1~deb13u3 3.5.9-1~deb13u1
libc6 2.41-12+deb13u4 2.41-12+deb13u5
base-files 13.8+deb13u7 13.8+deb13u8

The gateway links glibc from this base and neither OpenSSL nor zstd. staging-image builds the image on this base and runs the staging rehearsal and the container contract test against it.

Reviews

Two independent reviews, briefed separately.

  • Correctness: no defect. The old digest is gone from the tree, the new one is in exactly the five places that pin the base, the emptied exceptions file is valid for the tests, and the job pin changed by one line. One nit, fixed: a sentence in docs/verification.md described the exception check in the present tense against a base that is no longer pinned.
  • Adversarial (it resolved the tag, verified the signature and its negative controls, diffed the packages and scanned both digests itself): nothing wrong. It confirmed the index has both platforms and no attestation or unknown entries, the image config (user 65532, environment, no entrypoint) is identical to the old base's, and that with the emptied file the old digest fails the scan again, so the exception is really gone. Fixed from it: the re-pin procedure in docs/verification.md did not name the job pin.
  • For information: scanned without --ignore-unfixed, the new base (like the old) has two HIGH findings in libssl3t64 with no fix yet (CVE-2026-107494, CVE-2026-124709). The scan policy ignores unfixed findings. When Debian fixes either, every pull request fails until the base is rebuilt and re-pinned again, as with Image scan fails: libzstd1 CVE-2026-124851 in the distroless runtime base; re-pin when a fixed base exists #837; the gateway does not link OpenSSL.

Local gates

npm run test:supply-chain (961 tests), test:rules, test:structure, test:conflict-markers, test:ci, fix:citations: all exit 0.

🤖 Generated with Claude Code

Nicholas Cecere and others added 2 commits November 25, 2026 16:55
…the scan exceptions (#837)

gcr.io/distroless/cc-debian13:nonroot moves from sha256:cb87acc5... to
sha256:29ee7076..., rebuilt on 2026-11-25 with Debian's fix for
CVE-2026-124851 (libzstd1 1.5.7+dfsg-1+deb13u1, DSA-6657-1). The scans pass
on amd64 and arm64 without an exception, so the dated entry of
.github/trivy-exceptions.yaml is removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…as past (#837)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@ncecere
ncecere merged commit a280197 into main Nov 25, 2026
31 checks passed
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.

Image scan fails: libzstd1 CVE-2026-124851 in the distroless runtime base; re-pin when a fixed base exists

1 participant