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.
CVE-2021-27290 - High Severity Vulnerability
Vulnerable Libraries - ssri-6.0.1.tgz, ssri-5.3.0.tgz
ssri-6.0.1.tgz
Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.
Library home page: https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz
Path to dependency file: agenda/package.json
Path to vulnerable library: agenda/node_modules/ssri/package.json
Dependency Hierarchy: - cli-service-3.12.1.tgz (Root Library) - :x: **ssri-6.0.1.tgz** (Vulnerable Library)
ssri-5.3.0.tgz
Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.
Library home page: https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz
Path to dependency file: agenda/package.json
Path to vulnerable library: agenda/node_modules/copy-webpack-plugin/node_modules/ssri/package.json
Dependency Hierarchy: - cli-service-3.12.1.tgz (Root Library) - copy-webpack-plugin-4.6.0.tgz - cacache-10.0.4.tgz - :x: **ssri-5.3.0.tgz** (Vulnerable Library)
Found in HEAD commit: c0e03a52286f136b2ec379b20d44fd4cb767b63b
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2021-03-12
URL: CVE-2021-27290
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27290
Release Date: 2021-03-12
Fix Resolution: ssri - 6.0.2,8.0.1
Step up your Open Source Security Game with WhiteSource here