Vulnerability library
Security checkSeptember 21, 2023

Regular Expression Denial of Service (ReDoS) - ssri

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmssri

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the ssri package to the latest compatible version. Followings are version details:

  • Affected version(s): **= 8.0.0 >= 7.0.0, < 7.1.1 >= 5.2.2, < 6.0.2**
  • Patched version(s): **8.0.1 7.1.1 6.0.2**

References

Could your website be exposed too?

SmartScanner can check your website for Regular Expression Denial of Service (ReDoS) - ssri and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 21, 2023