Skip to content

Commit a49b708

Browse files
chore(security): pin dev/CI Node to 22.23.4 (CVE-2026-111497) (#353)
Pin the Node used for development, CI and publishing to the patched 22.23.4 release (CVE-2026-111497, Brotli decoder OOB write). Files: - .nvmrc: v18 -> v22.23.4 - .devcontainer/devcontainer.json: javascript-node:1-18-bullseye -> javascript-node:1-22-bullseye + node feature pinned to 22.23.4 - .github/workflows/react_release.yml: node-version 22 -> 22.23.4 - .github/workflows/ghr_backfill.yml: node-version 18 -> 22.23.4 - .github/workflows/react.yml: matrix leg '22' -> '22.23.4' (18/20/24 compatibility legs unchanged) package.json engines (>=18.0.0) intentionally unchanged. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 1994a40 commit a49b708

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

‎.devcontainer/devcontainer.json‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "React SDK",
3-
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
3+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/node:1": {
6+
"version": "22.23.4"
7+
}
8+
},
49
"postCreateCommand": "npm i -g yarn@1.22.22 && yarn install",
510
"customizations": {
611
"vscode": {

‎.github/workflows/ghr_backfill.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Set up Node
3737
uses: actions/setup-node@v4
3838
with:
39-
node-version: 18
39+
node-version: 22.23.4
4040

4141
- name: Configure GHR auth
4242
run: echo "//npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}" >> ~/.npmrc

‎.github/workflows/react.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node: [ '18', '20', '22', '24' ]
15+
node: [ '18', '20', '22.23.4', '24' ]
1616
steps:
1717
- name: Checkout branch
1818
uses: actions/checkout@v4

‎.github/workflows/react_release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Node
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: 22
28+
node-version: 22.23.4
2929
cache: 'npm'
3030

3131
- name: Upgrade npm for OIDC support

‎.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v22.23.4

0 commit comments

Comments
 (0)