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-2019-16869 Vulnerability in maven package org.jboss.netty:netty
CVE-2021-29452 Vulnerability in npm package a12n-server
CVE-2022-36045 Vulnerability in npm package nodebb
CVE-2023-22461 Vulnerability in npm package @mattkrick/sanitize-svg
CVE-2021-44832 Vulnerability in maven package org.apache.logging.log4j:log4j-core