dmyers87 / matrix-react-sdk

Matrix SDK for React Javascript
Apache License 2.0
0 stars 0 forks source link

CVE-2021-27290 (High) detected in ssri-6.0.1.tgz #6

Open mend-for-github-com[bot] opened 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2021-27290 - High Severity Vulnerability

Vulnerable Library - 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: /node_modules/ssri/package.json

Path to vulnerable library: /node_modules/ssri/package.json

Dependency Hierarchy: - diff-dom-4.1.6.tgz (Root Library) - updates-8.5.3.tgz - make-fetch-happen-5.0.0.tgz - :x: **ssri-6.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 0c22b39b4f64e2bf88c2b59e4e09bc0b140c91e6

Found in base branch: develop

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://github.com/advisories/GHSA-vx3p-948g-6vhq

Release Date: 2021-03-12

Fix Resolution (ssri): 6.0.2

Direct dependency fix Resolution (diff-dom): 4.2.0