Skip to content

fix(deploy): patch Console runtime base image libzstd1 CVE (OK-170) - #186

Merged
arashkaffamanesh merged 1 commit into
mainfrom
fix/ok-170-runtime-base-libzstd
Nov 28, 2026
Merged

arashkaffamanesh merged 1 commit into
mainfrom
fix/ok-170-runtime-base-libzstd

Conversation

@stks01

@stks01 stks01 commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Why

The signed-tag publish runs for dev-breakglass-v0.1.0-rc.31 (46027246226) and dev-v0.1.0-rc.20 (46027246629) stopped at the development vulnerability gate on one fixed HIGH finding in the distroless runtime base: libzstd1 CVE-2026-124851 (1.5.7+dfsg-1, fixed in 1.5.7+dfsg-1+deb13u1). Neither image was signed or attested; both digests (9049ce6a…, 7fc4c605…) must never be pinned.

Change

One line: pin the runtime stage to gcr.io/distroless/nodejs22-debian13:nonroot@sha256:c73ddeb03e1dc2d579aa111c83d6699c6b8b487e35c0c631d4a3a20229fc25ee (OCI index incl. linux/amd64 and linux/arm64; uid 65532, /nodejs/bin/node). The build stage and the vulnerability gate are unchanged; the deployment.test.ts pin assertions still hold.

Old and new base differ in exactly one layer per platform; the only Debian package change is libzstd1 1.5.7+dfsg-1 -> 1.5.7+dfsg-1+deb13u1 (amd64 and arm64).

Evidence

Trivy 0.74.0 with the gate's flags (--severity CRITICAL,HIGH --ignore-unfixed --exit-code 1) on the runtime base:

Platform Old base New base
linux/amd64 exit 1, libzstd1 CVE-2026-124851 exit 0, no findings
linux/arm64 exit 1, libzstd1 CVE-2026-124851 exit 0, no findings

In both failed runs the libzstd1 finding was the only one (Total: 1).

Scope of this evidence

  • Applies to: the runtime base image at this digest, against the 2026-11-28 vulnerability database.
  • Shown in: the signed-tag publish runs after merge (next free tags: dev-breakglass-v0.1.0-rc.32, dev-v0.1.0-rc.21, both on the merge commit of this PR).

@arashkaffamanesh
arashkaffamanesh merged commit 928a2f1 into main Nov 28, 2026
2 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.

2 participants