ci: replace the runner image's Node.js 24.18.1 with the official 24.22.1 (CVE-2026-111497) #23
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/node24-cve-2026-111497"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the 2026-10-25 supply-chain audit of the
noel/act*repositories.Finding
node/npmjob step with thenodefirst on the job image's PATH. An action'sruns.usinglabel does not choose the binary.act-node-docker@sha256:1f0ae8ac…) inherits thatnodefromcatthehacker/ubuntu:act-latest20260801 (sha256:3155564c…):/opt/acttoolcache/node/24.18.1/x64. It is exposed to CVE-2026-111497 (brotli decoder remote code execution), which the 2026-10-20 security release 24.22.1 fixes along with six other CVEs./opt/acttoolcache/node/20.20.2, unused, and end of life since April 2026.sha256:e54a2c5d…:node --versiongives v24.18.1, PATH is as listed, and the toolcache holds the two trees. The jq and supplychain leaves above it do not touch Node.Change
A new additive leaf,
Dockerfile.system-hz-node24, oversha256:1f0ae8ac…, following the jq leaf's pattern:node-v24.22.1-linux-x64.tar.xz(sha2566c172a9a…95e6) at/opt/acttoolcache/node/24.22.1/x64.node24-inputs.jsonseals it. The release'sSHASUMS256.txt.ascverifies against Node.js release key5BE8A3F6…D356.RUNasserts the parent's exact PATH,nodepath and version, its toolcache contents, and that nonodeornpmis installed elsewhere. The secondRUNasserts the new resolution, the version, the LTS line, a brotli round trip, npm, jq 1.8.2 and supplychain v0.1.7.verify-installed-system-hz-node24.py(13 checks) andREADME.system-hz-node24.md.Age flag: 24.22.1 is 5 days old, inside the pinning policy's 7-day flag. It is the upstream maintainers' security release for an RCE, so it needs the owner's explicit OK, as earlier same-week security fixes did. Node.js 22.23.4 from the same release is being taken for Codewire's own Node pins under CVE-2026-111497.
Checks
The real parent needs registry credentials, so I rebuilt it locally from this repository's sealed leaves. The jq leaf went on the locally held
sha256:e54a2c5d…, then the supplychain leaf. Every sealed input matched its pinned SHA-256. The rebuilt supplychain binary is byte-identical to the verifier's pinnedfc17a8e6….docker buildx build -f Dockerfile.system-hz-node24over the rebuilt parentverify-installed-system-hz-node24.py, uid 1000, read-only root, no network, Codewire main's consumersPASS commands=13 node=v24.22.1assert-ci-runner-image.shfrom main, inside the leafCodewire CI runner image contract: OKFollow-ups (not in this PR)
scripts/forgejo-runner-imagemust acceptnode_inputsfromhttps://nodejs.org/dist/before it can build and publish this leaf. Then the dispatcher and the metal golden image move to the new digest, as for the jq and supplychain leaves. Publication and runner adoption stay owner-approved steps.Dockerfilestill takes Node.js fromcatthehacker. Its next full rebuild needs a base carrying 24.22.1 or later, or the same pinned install.Dockerfilebuilds atmos withgolang:1.26.2and the default supplychain withgolang:1.26.5. OSV lists 35 and 22 Go standard-library advisories for those versions; 1.26.10 has none. Rebuilding those binaries is a separate leaf.