Repository navigation
chore(security): bump Dockerfile.dev base image node:20.9.0 → node:22 - #238
Open
dex-the-ai wants to merge 1 commit into
Open
dex-the-ai wants to merge 1 commit into
dex-the-ai wants to merge 1 commit into
Conversation
…ode:22 node:20.9.0 (Oct 2023) carries several high-severity Node.js runtime CVEs (e.g. CVE-2024-27983, CVE-2024-22019, CVE-2024-21892, CVE-2025-23166) and Node 20 reached end-of-life on 2026-04-30. node:22 matches the Node version CI already tests with (actions/setup-node node-version: "22"). Hermes Kanban: t_e2899a8a Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The monthly security audit (2026-11) found no high or critical advisories in the npm dependency tree. The only high-severity exposure is the dev container base image:
Dockerfile.devpinsnode:20.9.0, a 2023 Node.js release.Anyone who runs
docker build -f Dockerfile.devtoday gets that vulnerable runtime. This PR changes the singleFROMline tonode:22, the same major version CI already tests with (actions/setup-nodenode-version: "22"). No application code, manifests or other files change.Advisories
Dockerfile.devbase)next-swagger-doc→ swagger-jsdoc → glob, andswagger-ui-react→ swagger-client → apidom-reference)next-swagger-doc→ swagger-jsdoc)The two moderate npm advisories are informational only and are not fixed here. They come in through
swagger-jsdoc@6.3.0and@swagger-api/apidom-reference, andnpm auditoffers only semver-major downgrades (next-swagger-doc@0.4.1,swagger-ui-react@4.16.1) as fixes. Both packages affect only API-doc tooling. They belong to the monthly dependency-update workflow.Commands run and validation
The first Vitest run had one failure in
hotel/filter, because the app had just created thehotel_searchFTS index and it was still building. After the index reached 917 docs, the rerun was 44/44 green.UI evidence (container from
Dockerfile.devon node:22, Swagger UI at/)Walkthrough video: https://res.cloudinary.com/dhwqj0ps2/video/upload/v1795661966/pr-evidence/couchbase-examples/nextjs-capella-quickstart/chore-security-node-base-image-2026-11/swagger-root-node22.webm
Risk and rollback
node:22is a floating major tag, so rebuilds pick up future 22.x security patches.FROM node:20.9.0.docker build -t couchbase-nextjs-quickstart .expects a file namedDockerfile, but the repo shipsDockerfile.dev, so-f Dockerfile.devis needed.Tracking
t_e2899a8a(boardcouchbase-examples, monthly security audit 2026-11)🤖 Generated with Claude Code