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://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf
https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf
https://npmjs.com
https://www.oracle.com/security-alerts/cpuoct2021.html
Related Vulnerabilities
CVE-2018-14041 Vulnerability in maven package org.webjars.npm:bootstrap
CVE-2021-21346 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2016-10735 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap
CVE-2020-1913 Vulnerability in npm package hermes-engine
CVE-2020-13942 Vulnerability in maven package org.apache.unomi:unomi-common