Skip to content

chore(nodejs): bump env version to 1.36 to rebuild on Node.js 22.23.4 (CVE-2026-111497) - #465

Open
sidneyprins wants to merge 1 commit into
fission:masterfrom
sidneyprins:nodejs-env-1.36-node-22.23.4
Open

sidneyprins wants to merge 1 commit into
fission:masterfrom
sidneyprins:nodejs-env-1.36-node-22.23.4

Conversation

@sidneyprins

@sidneyprins sidneyprins commented Oct 22, 2026 •

Copy link
Copy Markdown

TLDR

Node.js 22.23.4 (security release of 2026-10-21) fixes 10 CVEs, including CVE-2026-111497: an out-of-bounds write in the bundled Brotli decoder that allows remote code execution. The published ghcr.io/fission/node-env, node-env-22 and node-env-debian images at 1.35 (and their builders) run Node 22.22.3, so they are affected. The runtime's Express 5 body parsers decompress Content-Encoding: br request bodies, so any function behind a public HTTPTrigger is reachable by an unauthenticated caller.

This PR moves the Node.js environment to Node 22.23.4 and bumps its version from 1.35 to 1.36 so the release workflow rebuilds and publishes the images.

Breaking Changes

None. Same Node.js line (22) and the same Alpine release (3.23); only the Node.js patch version changes. Dependencies and the lockfile are untouched.


What Changed and Why

NODE_BASE_IMG goes from 22.22.3 to 22.23.4 in nodejs/Makefile, nodejs/builder/Makefile and skaffold.yaml, and in the build commands in nodejs/README.md. In nodejs/envconfig.json the runtimeVersion follows and version goes from 1.35 to 1.36 for all three images. environments.json was regenerated with make update-env-json.

Why: unlike php:8.3-alpine, the Node.js base image is pinned to an exact version, so a version bump alone would rebuild on the vulnerable 22.22.3. This follows the layout of #440.

Merge order with #464

#464 (php-env 1.32.1) also rewrites environments.json. Whichever merges second needs git merge origin/master and make update-env-json to resolve the conflict, as described in the release-process notes.

How to Test

Start: the branch is checked out
  1. Check out this PR.
    gh pr checkout 465 -R fission/environments
    Expect: you are on branch nodejs-env-1.36-node-22.23.4.
The image builds on Node.js 22.23.4
  1. Build the node-env-22 image locally.
    cd nodejs && make node-env-22-img DOCKER_FLAGS=--load PLATFORMS=linux/arm64 REPO=local TAG=test
    Expect: the build succeeds.
  2. Print the Node.js version inside the image.
    docker run --rm --entrypoint node local/node-env-22:test --version
    Expect: v22.23.4
The runtime still specializes and serves CJS and ESM functions
  1. With Node.js 22.23.4 active, install the dependencies and run the local test.
    cd nodejs && npm ci && ./test/local_test.sh
    Expect: all 9 test cases pass (CJS and ESM helloWorld, helloUser, wordCount, momentExample, plus the basic CJS function).

@mergify

mergify Bot commented Oct 22, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

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.

1 participant