Skip to content

Commit fcccd01

Browse files
authored
Merge pull request #1612 from credebl/security/fix-high-critical-vulnerabilities
fix: resolve critical vulnerabilities and upgrade Docker base image
2 parents da84943 + af81fd2 commit fcccd01

21 files changed

Lines changed: 232 additions & 539 deletions

Dockerfiles/Dockerfile.agent-provisioning

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
# Install OpenSSL
44
RUN apk update && apk upgrade
55
RUN apk add --no-cache openssl
@@ -38,7 +38,7 @@ RUN ls -R /app/apps/agent-provisioning/AFJ/
3838
RUN pnpm run build agent-provisioning
3939

4040
# Stage 2: Create the final image
41-
FROM node:24-alpine3.21
41+
FROM node:24-alpine3.23
4242
# Install OpenSSL
4343
RUN apk update && apk upgrade
4444
RUN apk add --no-cache openssl

Dockerfiles/Dockerfile.agent-service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache \
44
openssl \
55
openssh-client \
@@ -18,7 +18,7 @@ RUN pnpm run build agent-service
1818
RUN pnpm prune --prod
1919

2020
# Stage 2: Create the final image
21-
FROM node:24-alpine3.21
21+
FROM node:24-alpine3.23
2222
RUN apk update && apk upgrade && apk add --no-cache \
2323
openssl \
2424
openssh-client \

Dockerfiles/Dockerfile.api-gateway

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build api-gateway
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.cloud-wallet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build cloud-wallet
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.connection

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build connection
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.ecosystem

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build ecosystem
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.geolocation

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build geo-location
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.issuance

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build issuance
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.ledger

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl \
44
&& rm -rf /var/cache/apk/*
55
RUN npm install -g pnpm@9.15.3 --ignore-scripts
@@ -13,7 +13,7 @@ RUN pnpm run build ledger
1313
RUN pnpm prune --prod
1414

1515
# Stage 2: Create the final image
16-
FROM node:24-alpine3.21
16+
FROM node:24-alpine3.23
1717
RUN apk update && apk upgrade && apk add --no-cache openssl \
1818
&& rm -rf /var/cache/apk/* \
1919
&& addgroup -g 1001 -S nodejs \

Dockerfiles/Dockerfile.notification

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build the application
2-
FROM node:24-alpine3.21 AS build
2+
FROM node:24-alpine3.23 AS build
33
RUN apk update && apk upgrade && apk add --no-cache openssl && rm -rf /var/cache/apk/*
44
RUN npm install -g pnpm@9.15.3 --ignore-scripts
55
WORKDIR /app
@@ -12,7 +12,7 @@ RUN pnpm run build notification
1212
RUN pnpm prune --prod
1313

1414
# Stage 2: Create the final image
15-
FROM node:24-alpine3.21
15+
FROM node:24-alpine3.23
1616
RUN apk update && apk upgrade && apk add --no-cache openssl \
1717
&& rm -rf /var/cache/apk/* \
1818
&& addgroup -g 1001 -S nodejs \

0 commit comments

Comments
 (0)