logo

CVE-2021-27290 ssri

Package

Manager: npm
Name: ssri
Vulnerable Version: >=5.2.2 <6.0.2 || >=7.0.0 <7.1.1 || =8.0.0 || >=8.0.0 <8.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.02665 pctl0.85232

Details

Regular Expression Denial of Service (ReDoS) 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.

Metadata

Created: 2021-03-19T21:24:36Z
Modified: 2021-10-21T17:38:11Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-vx3p-948g-6vhq/GHSA-vx3p-948g-6vhq.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-vx3p-948g-6vhq
Finding: F002
Auto approve: 1