-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Hi, Prisma cloud scan for our docker container which has node 12 and npm 6.14.12 detected a vulnerability for the ssri 6.0.1 package. Any solution for this please.
Description of the vulnerability and fix below:
ssri 5.2.2-8.0.0, fixed in 8.0.1, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.
Steps in Dockerfile we used to install node12 and npm:
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
RUN apt install -y nodejs
# Upgrade npm to 6.14.12
RUN npm install npm@6 -g
Metadata
Metadata
Assignees
Labels
No labels