ignatandrei / WFH_Resources

Work from Home Resources
https://ignatandrei.github.io/WFH_Resources/
MIT License
5 stars 3 forks source link

CVE-2021-27290 (High) detected in ssri-7.1.0.tgz, ssri-6.0.1.tgz - autoclosed #68

Closed mend-bolt-for-github[bot] closed 2 years ago

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

CVE-2021-27290 - High Severity Vulnerability

Vulnerable Libraries - ssri-7.1.0.tgz, ssri-6.0.1.tgz

ssri-7.1.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-7.1.0.tgz

Path to dependency file: /WFHResourcesApp/package.json

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

Dependency Hierarchy: - build-angular-0.900.6.tgz (Root Library) - cacache-13.0.1.tgz - :x: **ssri-7.1.0.tgz** (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: /WFHResourcesApp/package.json

Path to vulnerable library: /WFHResourcesApp/node_modules/pacote/node_modules/ssri/package.json,/WFHResourcesApp/node_modules/copy-webpack-plugin/node_modules/ssri/package.json,/WFHResourcesApp/node_modules/make-fetch-happen/node_modules/ssri/package.json,/WFHResourcesApp/node_modules/webpack/node_modules/ssri/package.json

Dependency Hierarchy: - build-angular-0.900.6.tgz (Root Library) - copy-webpack-plugin-5.1.1.tgz - cacache-12.0.3.tgz - :x: **ssri-6.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: fd6b801b24133624475def78b226fe5ac7354041

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

Release Date: 2021-03-12

Fix Resolution (ssri): 7.1.1

Direct dependency fix Resolution (@angular-devkit/build-angular): 0.900.7

Fix Resolution (ssri): 6.0.2

Direct dependency fix Resolution (@angular-devkit/build-angular): 0.900.7


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.