Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZ4M3AtOTQ4Zy02dmhx

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.

Permalink: https://github.com/advisories/GHSA-vx3p-948g-6vhq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXZ4M3AtOTQ4Zy02dmhx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: 8 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-vx3p-948g-6vhq, CVE-2021-27290
References: Repository: https://github.com/npm/ssri
Blast Radius: 44.8

Affected Packages

npm:ssri
Dependent packages: 838
Dependent repositories: 951,034
Downloads: 124,652,217 last month
Affected Version Ranges: = 8.0.0, >= 7.0.0, < 7.1.1, >= 5.2.2, < 6.0.2
Fixed in: 8.0.1, 7.1.1, 6.0.2
All affected versions: 5.2.2, 5.2.3, 5.2.4, 5.3.0, 6.0.0, 6.0.1, 7.0.0, 7.0.1, 7.1.0, 8.0.0
All unaffected versions: 0.0.0, 1.0.0, 2.0.0, 3.0.0, 3.0.1, 3.0.2, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 5.0.0, 5.1.0, 5.2.1, 6.0.2, 7.1.1, 8.0.1, 9.0.0, 9.0.1, 10.0.0, 10.0.1, 10.0.2, 10.0.3, 10.0.4, 10.0.5