Open
Description
Describe the bug
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.
Looking at https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/package.json it pulls in webpack
@ 4.44.2
which ends up with this tree:
┬ react-scripts@4.0.3
├─┬ terser-webpack-plugin@4.2.3
│ └─┬ cacache@15.0.5
│ └── ssri@8.0.1
└─┬ webpack@4.44.2
└─┬ terser-webpack-plugin@1.4.5
└─┬ cacache@12.0.4
└── ssri@6.0.1
Moving to the latest webpack
currently 5.26.2
will fix this.