Path to vulnerable library: /node_modules/img-loader/node_modules/loader-utils/package.json,/node_modules/file-loader/node_modules/loader-utils/package.json,/node_modules/webpack/node_modules/loader-utils/package.json,/node_modules/raw-loader/node_modules/loader-utils/package.json,/node_modules/url-loader/node_modules/loader-utils/package.json
Path to vulnerable library: /node_modules/styled-jsx/node_modules/loader-utils/package.json,/node_modules/resolve-url-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 url variable in interpolateName.js.
CVE-2022-37603 - High Severity Vulnerability
Vulnerable Libraries - loader-utils-1.4.0.tgz, loader-utils-1.2.3.tgz, loader-utils-2.0.0.tgz
loader-utils-1.4.0.tgz
utils for webpack loaders
Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/img-loader/node_modules/loader-utils/package.json,/node_modules/file-loader/node_modules/loader-utils/package.json,/node_modules/webpack/node_modules/loader-utils/package.json,/node_modules/raw-loader/node_modules/loader-utils/package.json,/node_modules/url-loader/node_modules/loader-utils/package.json
Dependency Hierarchy: - next-optimized-images-2.6.2.tgz (Root Library) - raw-loader-2.0.0.tgz - :x: **loader-utils-1.4.0.tgz** (Vulnerable Library)
loader-utils-1.2.3.tgz
utils for webpack loaders
Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/styled-jsx/node_modules/loader-utils/package.json,/node_modules/resolve-url-loader/node_modules/loader-utils/package.json
Dependency Hierarchy: - next-10.0.3.tgz (Root Library) - styled-jsx-3.3.2.tgz - :x: **loader-utils-1.2.3.tgz** (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/loader-utils/package.json
Dependency Hierarchy: - next-10.0.3.tgz (Root Library) - :x: **loader-utils-2.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: ccd1fa96ac3b5406cb8231dc95b0496a05a23586
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 url variable in interpolateName.js.
Publish Date: 2022-10-14
URL: CVE-2022-37603
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-3rfm-jhwj-7488
Release Date: 2022-10-14
Fix Resolution (loader-utils): 1.4.2
Direct dependency fix Resolution (next-optimized-images): 3.0.0-canary.0
Fix Resolution (loader-utils): 1.4.2
Direct dependency fix Resolution (next): 12.0.9-canary.1
Fix Resolution (loader-utils): 1.4.2
Direct dependency fix Resolution (next): 12.0.9-canary.1
Step up your Open Source Security Game with Mend here