Skip to content

Commit 814b7e9

Browse files
Update Node.js base image: 20,22,24 (#118)
1 parent 7b9e002 commit 814b7e9

6 files changed

Lines changed: 36 additions & 9 deletions

File tree

.grype.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,21 @@ ignore:
55
reason: "Node 20: npm patched but not yet available in Node 20 base images"
66
- vulnerability: GHSA-29xp-372q-xqph
77
reason: "Node 24: Node-tar patched but not yet available in Node.js base images"
8+
- vulnerability: GHSA-83g3-92jg-28cx
9+
reason: "Node 20: Node-tar patched but not yet available in Node.js base images, issue not exploitable in npm context"
10+
- vulnerability: GHSA-8qq5-rm4j-mr97
11+
reason: "Node 20: Node-tar patched but not yet available in Node.js base images"
12+
- vulnerability: GHSA-r6q2-hw4h-h46w
13+
reason: "Node 20: Node-tar patched but not yet available in Node.js base images"
814
- vulnerability: GHSA-5j98-mcp5-4vw2
915
reason: "Node 20: Node-glob patched but not yet available in Node.js base images, issue not exploitable in npm context"
1016
- vulnerability: CVE-2025-60876
1117
reason: "Alpine BusyBox: No fix available"
18+
- vulnerability: GHSA-34x7-hfp2-rc4v
19+
reason: "Node 20,22: Node-tar patched but not yet available in Node.js base images"
20+
- vulnerability: GHSA-7h2j-956f-4vf2
21+
reason: "Node 24: brace-expansion patched but not yet available in Node.js base images"
22+
- vulnerability: GHSA-v6h2-p8h4-qcjw
23+
reason: "Node 20,22: brace-expansion patched but not yet available in Node.js base images"
24+
- vulnerability: GHSA-3ppc-4f35-3m26
25+
reason: "Node 22: minimatch patched but not yet available in Node.js base images"

.trivyignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ CVE-2024-21538
66

77
# Node 24: node-tar patched but not yet available in Node.js base images
88
CVE-2025-64118
9+
CVE-2026-24842
10+
CVE-2026-26960
11+
CVE-2026-23745
12+
CVE-2026-23950
913

1014
# Node 20: Node-glob patched but not yet available in Node.js base images, issue not exploitable in npm context
1115
CVE-2025-64756
@@ -15,3 +19,12 @@ CVE-2024-58251
1519

1620
# Alpine: SSL client, no fix available
1721
CVE-2025-46394
22+
23+
# Node 24: brace-expansion patched but not yet available in Node.js base images
24+
CVE-2026-25547
25+
26+
# Node 24: minimatch patched but not yet available in Node.js base images
27+
CVE-2026-26996
28+
29+
# Node 22: jsdiff patched but not yet available in Node.js base images
30+
CVE-2026-24001

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set default values for build arguments
2-
ARG DEFRA_VERSION=3.0.0
3-
ARG BASE_VERSION=24.12.0-alpine3.23
2+
ARG DEFRA_VERSION=3.0.1
3+
ARG BASE_VERSION=24.13.1-alpine3.23
44

55
FROM node:$BASE_VERSION AS production
66

JOB.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
DEFRA_VERSION=3.0.0
1+
DEFRA_VERSION=3.0.1
22
IMAGE_NAME=node

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The following table lists the versions of node available, and the parent Node.js
1414

1515
| Node version | Parent image |
1616
| ------------- | ----------------- |
17-
| 20.19.6 | 20.19.6-alpine3.23 |
18-
| 22.21.1 | 22.21.1-alpine3.23 |
19-
| 24.12.0 | 24.12.0-alpine3.23 |
17+
| 20.20.0 | 20.20.0-alpine3.23 |
18+
| 22.22.0 | 22.22.0-alpine3.23 |
19+
| 24.13.1 | 24.13.1-alpine3.23 |
2020

2121
Two parent images are created for each version:
2222

image-matrix.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[
2-
{"nodeVersion": "20.19.6", "alpineVersion": "3.23", "tags": ["latest-20"]},
3-
{"nodeVersion": "22.21.1", "alpineVersion": "3.23", "tags": ["latest-22"]},
4-
{"nodeVersion": "24.12.0", "alpineVersion": "3.23", "tags": ["latest-24", "latest"]}
2+
{"nodeVersion": "20.20.0", "alpineVersion": "3.23", "tags": ["latest-20"]},
3+
{"nodeVersion": "22.22.0", "alpineVersion": "3.23", "tags": ["latest-22"]},
4+
{"nodeVersion": "24.13.1", "alpineVersion": "3.23", "tags": ["latest-24", "latest"]}
55
]

0 commit comments

Comments
 (0)