Repository navigation
Pin Node.js base image to patched 22.23.4 (CON-2396) - #16
Merged
Merged
Conversation
node:22-slim is a floating tag; images built before 2026-10-21 can still run a Node.js vulnerable to CVE-2026-111497 (OOB write in the bundled Brotli decoder). Pin to node:22.23.4-slim, the first patched release, so the fix survives cache reuse. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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
Dockerfileused the floating tagnode:22-slim; images built before the Node.js October 2026 security release (2026-10-21) remain vulnerable to CVE-2026-111497 (OOB write in the bundled Brotli decoder), and a cached base layer can keep a rebuilt image on the vulnerable version too.node:22.23.4-slim, the first patched release, so a rebuild always resolves to a fixed Node.js regardless of layer cache state.Fixes CON-2396.
Test plan
docker pull --platform linux/arm64 node:22.23.4-slimandnode -vconfirm the pinned tag resolves tov22.23.4.docker build --pullresolvesFROM node:22.23.4-slimto digestsha256:4b150b48b4116e2a22f2c39cc27025fbf4f153e2078fd3b14d159fdb5c7279da(image pulls successfully; a later build step fails locally only due to this host lacking amd64 emulation for the Dockerfile's forced--platform linux/amd64, unrelated to this change and present before it too).🤖 Generated with Claude Code