Fix critical CVEs from daily vulnerability scan - #21542
Conversation
Co-authored-by: Codex <noreply@openai.com>
|
Reviewed the changes. Implementation looks solid: good code quality and follows established patterns. No significant concerns. The Caddy base is digest-pinned consistently across the three proxy images (matching the repo's existing Documentation review ran in docs-drift mode: this is a code-only change to component Dockerfiles with no user-visible behavior, API, config, or operational change, so no documentation updates are required. Low-risk determination: Escalate to human review
Escalation reason: the breaking-change criterion could not be confidently cleared. This PR removes the |
Summary
Fixes the critical findings from the July 23 daily vulnerability scan by rebuilding the affected Caddy images on a pinned runtime base and removing npm's unused vulnerable dependency tree from production Node images.
Remediation
dashboard,ide-proxy,proxycaddy/caddyruntime / Alpine OpenSSL2.11.4-alpine; cachedlibcrypto3/libssl32.11.4-alpine@sha256:ef2ad799…; rebuilt packages at3.5.7-r0CVE-2026-34182server,ws-manager-bridge22.22.0, runtime22.22.122.22.3server,ws-manager-bridgetar6.2.1/7.4.3(3 vulnerable copies per image)GHSA-23hp-3jrh-7fpwgitpod-dbtar7.5.11GHSA-23hp-3jrh-7fpwnpm/npx are not used by these production entrypoints: server and ws-manager-bridge invoke Node directly, while gitpod-db uses Yarn.
Validation
v22.22.3and Yarn1.22.22.pre-commit run --filesfor all six changed Dockerfiles.Local leeway SBOM export for Node images is limited by Docker failing to read an
npxfile from the upstream base layer while saving parent layers. The final filesystems were flattened and scanned successfully; CI uses a separate Docker environment.Fixes CLC-2263
Workflow: https://github.com/gitpod-io/gitpod/actions/runs/29968804580