MValle21 / ts-components

Component library built with Typescript, React, Styled Components & Styled System
0 stars 0 forks source link

CVE-2022-37599 (High) detected in loader-utils-2.0.0.tgz #28

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

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

CVE-2022-37599 - High Severity Vulnerability

Vulnerable Library - loader-utils-2.0.0.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/url-loader/node_modules/loader-utils/package.json,/node_modules/file-loader/node_modules/loader-utils/package.json,/node_modules/style-loader/node_modules/loader-utils/package.json,/node_modules/raw-loader/node_modules/loader-utils/package.json

Dependency Hierarchy: - react-6.1.15.tgz (Root Library) - core-6.1.15.tgz - raw-loader-4.0.2.tgz - :x: **loader-utils-2.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 7fad0c3ea819de1f1c13e58ea95c3582352491a9

Found in base branch: master

Vulnerability Details

A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.

Publish Date: 2022-10-11

URL: CVE-2022-37599

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-hhq3-ff78-jv3g

Release Date: 2022-10-11

Fix Resolution (loader-utils): 2.0.3

Direct dependency fix Resolution (@storybook/react): 6.1.16


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.