CVE-2021-27290

nodejs-ssri: Regular expression DoS (ReDoS) when parsing malicious SRI in strict mode

Published Mar 12, 2021 CVSS 3.1 · 7.5 High EPSS 4.7% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0713 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.
Github GHSA Github GHSA GHSA-vx3p-948g-6vhq Regular Expression Denial of Service (ReDoS)
History

No history.