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.
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:
- https://nvd.nist.gov/vuln/detail/CVE-2021-27290
- https://github.com/npm/ssri/commit/76e223317d971f19e4db8191865bdad5edee40d2
- https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf
- https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf
- https://github.com/npm/ssri/commit/b30dfdb00bb94ddc49a25a85a18fb27afafdfbb1
- https://www.npmjs.com/package/ssri
- https://github.com/npm/ssri/pull/20#issuecomment-842677644
- https://npmjs.com
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://github.com/npm/ssri/commit/809c84d09ea87c3857fa171d42914586899d4538
- https://github.com/advisories/GHSA-vx3p-948g-6vhq
Blast Radius: 44.8
Affected Packages
npm:ssri
Dependent packages: 838Dependent 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