fix(security): pin the 11 Nov 2026 security releases

Expands on #1459 introduced by @cpugenius and 1) bumps the admin
Docker image's Node version to 22.23.5 and 2) makes the Node version
used by the build-admin-on-pr.yml workflow match. Previously, the workflow
was running Node 24, so PR checks were running on one version of Node but
shipping on a different runtime version.
This commit is contained in:
jakeaturner committed 2026-11-17 22:18:23 +00:00
1 parent 86b187a9ff
commit a813c1c9d9
2 files changed
+7 -8

No files matched your search

+3 -3
View File
@@ -13,8 +13,8 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v6
with:
# 24.22.1 is the 21 Oct 2026 security release for the 24 line.
node-version: '24.22.1'
# 22.23.5 is the 11 Nov 2026 security release for the 22 line.
node-version: '22.23.5'
cache: 'npm'
- name: Install dependencies
@@ -23,4 +23,4 @@ jobs:
- name: Run build
run: npm run build
working-directory: ./admin
working-directory: ./admin
+4 -5
View File
@@ -1,8 +1,7 @@
# 22.23.4 is the 21 Oct 2026 security release for the 22 line
# (CVE-2026-111497 Brotli RCE, plus the TLS and DNS hostname fixes).
# Digest is the multi-arch index for node:22.23.4-slim, so a cached
# 22.23.5 is the 11 Nov 2026 security release for the 22 line
# Digest is the multi-arch index for node:22.23.5-slim, so a cached
# node:22-slim from before that release cannot satisfy this build.
FROM node:22.23.4-slim@sha256:de170b39439eb0e5a3444ad7d60b015614a381e10fecae2e30ec9e735122f38d AS base
FROM node:22.23.5-slim@sha256:e9f565d32859f0cbfb52125eafe8be39390f24dac302dc3cdf566e8ba3ab21ee AS base
# Install bash & curl for entrypoint script compatibility, graphicsmagick for pdf2pic, and vips-dev & build-base for sharp
RUN apt-get update && apt-get install -y \
@@ -117,4 +116,4 @@ COPY install/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 8080
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]