ADVISORIES

GitHub Advisory Database

GHSA-vx3p-948g-6vhq

Regular Expression Denial of Service (ReDoS)

Details

npm ssri 5.2.2-6.0.1 and 7.0.0-8.0.0, 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.

Affected packages

EcosystemPackageAffected versions
npmssri
From 5.2.2 before 6.0.2 (fixed in 6.0.2)
npmssri
From 7.0.0 before 7.1.1 (fixed in 7.1.1)
npmssri
From 8.0.0 before 8.0.1 (fixed in 8.0.1)

References