Skip to content

Commit 9b4b63e

Browse files
authored
fix(deps): update DOMPurify and runtime image packages (#3276)
Signed-off-by: Adrien Langou <alangou@nvidia.com>
1 parent 3eb81be commit 9b4b63e

6 files changed

Lines changed: 19 additions & 8 deletions

File tree

‎architecture/build.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ Runtime layout:
219219
gateway binaries must not reference `GLIBC_*` symbols newer than
220220
`GLIBC_2.28`; release workflows verify this before publishing artifacts. The
221221
gateway bundles z3, so the image does not need a distro-provided z3 runtime.
222+
The base is pinned to a multi-architecture digest; distro security updates
223+
require refreshing that digest and rebuilding the gateway image.
222224
- **VM driver**: host GNU-linked binary installed at
223225
`/usr/libexec/openshell/openshell-driver-vm` in Linux packages and published
224226
as a release artifact. Linux GNU VM driver binaries must not reference
@@ -229,7 +231,8 @@ Runtime layout:
229231
cache action runs. An explicitly configured VM runtime bundle is required to
230232
contain every non-empty embedding input; the driver build fails before
231233
packaging when an input is absent or empty.
232-
- **Supervisor**: Alpine base with `nftables`, static binary at
234+
- **Supervisor**: Alpine base with `nftables`; base packages are upgraded before
235+
installing firewall tools to pick up distro security fixes. Static binary at
233236
`/openshell-sandbox` (musl by default; see `SUPERVISOR_LIBC` above). Static
234237
linkage keeps the binary usable when the image is mounted/extracted into
235238
sandbox environments (Docker extraction, Podman image volumes, Kubernetes

‎deploy/docker/Dockerfile.gateway‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# Distroless Debian provides the glibc runtime required by the binary.
1010

11-
ARG GATEWAY_BASE_IMAGE=gcr.io/distroless/cc-debian13:nonroot@sha256:d97bc0a941b8d4be647dc0ee75b264ddbb772f1ac5ba690a4309c00723b23775
11+
ARG GATEWAY_BASE_IMAGE=gcr.io/distroless/cc-debian13:nonroot@sha256:c31ff9abcb1910f3ab25c7957bdaf0bfe12a01eb546e8df2282f1c8f682b606c
1212
FROM ${GATEWAY_BASE_IMAGE} AS gateway
1313

1414
ARG TARGETARCH

‎deploy/docker/Dockerfile.supervisor‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ FROM alpine:3.22 AS supervisor
1212

1313
ARG TARGETARCH
1414

15-
RUN apk add --no-cache nftables iptables iptables-legacy
15+
# Refresh base packages too: adding firewall tools does not upgrade OpenSSL.
16+
RUN apk upgrade --no-cache \
17+
&& apk add --no-cache nftables iptables iptables-legacy
1618

1719
# Keep the binary root-owned for Podman image-volume mounts and executable by
1820
# the Kubernetes network sidecar's non-root proxy UID.

‎scripts/lint-mermaid/package-lock.json‎

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎scripts/lint-mermaid/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"mermaid": "^11.4.0"
1010
},
1111
"overrides": {
12-
"dompurify": "3.4.12"
12+
"dompurify": "3.4.15"
1313
}
1414
}

‎skills/debug-openshell-cluster/SKILL.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ helm -n openshell get values openshell | grep -E 'repository|tag|supervisorImage
456456

457457
The gateway and supervisor images should use the same release tag. A stale supervisor image can make sandbox behavior lag behind gateway policy or protocol changes.
458458

459+
For vulnerability reports, record the running image digest and scan that exact
460+
artifact. The gateway includes a pinned Distroless base; the supervisor includes
461+
Alpine packages updated at image build time. A dependency or base-image fix only
462+
reaches deployed containers after rebuilding, publishing, and redeploying the
463+
images. Compare findings against the SBOM for that digest, not just its mutable
464+
`latest` or `dev` tag.
465+
459466
For plaintext local evaluation, confirm the chart has:
460467

461468
```bash

0 commit comments

Comments
 (0)