Skip to content

Commit 7309f2a

Browse files
aldousalvarezpetermetz
authored andcommitted
fix(security): address CVE-2022-29244, CVE-2021-39135
Fixes #2136 Signed-off-by: aldousalvarez <[email protected]>
1 parent 00572ed commit 7309f2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/carbon-accounting/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SHELL ["/bin/bash", "--login", "-i", "-c"]
3535
# Installing Node Version Manager (nvm)
3636
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
3737
RUN source ~/.bashrc && \
38-
nvm install 16.8.0 && \
38+
nvm install 16.15.1 && \
3939
npm install -g yarn && \
4040
yarn add @hyperledger/cactus-example-carbon-accounting-backend@0.9.1-ci-942.cbb849c6.35 --ignore-engines --production
4141

examples/supply-chain-app/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SHELL ["/bin/bash", "--login", "-i", "-c"]
3636
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
3737
ARG NPM_PKG_VERSION=latest
3838
RUN source ~/.bashrc && \
39-
nvm install 16.8.0 && \
39+
nvm install 16.15.1 && \
4040
npm install -g yarn && \
4141
yarn add @hyperledger/cactus-example-supply-chain-backend@${NPM_PKG_VERSION} --ignore-engines --production
4242

packages/cactus-cmd-api-server/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ENV API_PORT=4000
5050
ENV LOG_LEVEL=INFO
5151

5252
ENV NVM_DIR /home/${APP_USER}/.nvm
53-
ENV NODE_VERSION 16.3.0
53+
ENV NODE_VERSION 16.15.1
5454
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
5555
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
5656

@@ -61,7 +61,7 @@ RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
6161
&& nvm install $NODE_VERSION \
6262
&& nvm alias default $NODE_VERSION \
6363
&& nvm use default \
64-
&& npm install -g npm@7.19.1
64+
&& npm install -g npm@8.11.0
6565

6666
RUN npm install -g [email protected]
6767
RUN yarn add @hyperledger/cactus-cmd-api-server@${NPM_PKG_VERSION} --production

0 commit comments

Comments
 (0)