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-2023-46122 Vulnerability in maven package org.scala-sbt:io_2.12
CVE-2021-31404 Vulnerability in maven package com.vaadin:flow-server
CVE-2021-21169 Vulnerability in npm package electron
CVE-2023-38704 Vulnerability in npm package import-in-the-middle
CVE-2011-0533 Vulnerability in maven package org.apache.archiva:archiva