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-2017-10910 Vulnerability in npm package mqtt
CVE-2020-7721 Vulnerability in npm package node-oojs
CVE-2023-22893 Vulnerability in npm package @strapi/plugin-users-permissions
CVE-2020-8137 Vulnerability in npm package fastify
CVE-2023-26474 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore