Description
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.
Remediation
References
https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf
https://npmjs.com
https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf
https://www.oracle.com/security-alerts/cpuoct2021.html
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
Related Vulnerabilities
CVE-2021-21293 Vulnerability in maven package org.http4s:blaze-core_2.13
CVE-2022-24785 Vulnerability in maven package org.webjars.bower:moment
CVE-2021-41249 Vulnerability in npm package graphql-playground-react
CVE-2018-14042 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap-sass