Advisory

GHSA-vx3p-948g-6vhq

Also known as: CVE-2021-27290

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-03-19 21:24 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

ssri

npm · All systems

Affected

  • introduced 5.2.2, fixed 6.0.2 (semver)

Fixed versions

6.0.2

Fix

ssri

npm · All systems

Affected

  • introduced 7.0.0, fixed 7.1.1 (semver)

Fixed versions

7.1.1

Fix

ssri

npm · All systems

Affected

  • introduced 8.0.0, fixed 8.0.1 (semver)

Fixed versions

8.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences