Path to vulnerable library: /node_modules/mini-css-extract-plugin/node_modules/loader-utils/package.json,/node_modules/style-loader/node_modules/loader-utils/package.json,/node_modules/postcss-loader/node_modules/loader-utils/package.json,/node_modules/css-loader/node_modules/loader-utils/package.json,/node_modules/sass-loader/node_modules/loader-utils/package.json
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.
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/mini-css-extract-plugin/node_modules/loader-utils/package.json,/node_modules/style-loader/node_modules/loader-utils/package.json,/node_modules/postcss-loader/node_modules/loader-utils/package.json,/node_modules/css-loader/node_modules/loader-utils/package.json,/node_modules/sass-loader/node_modules/loader-utils/package.json
Dependency Hierarchy: - mini-css-extract-plugin-1.3.3.tgz (Root Library) - :x: **loader-utils-2.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: 85dfee5e30254c7a83c49eecf86adc1619fe6454
Found in base branch: main
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 (mini-css-extract-plugin): 1.3.4
Step up your Open Source Security Game with Mend here