Path to vulnerable library: /node_modules/styled-jsx/node_modules/loader-utils/package.json,/node_modules/next/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/css-loader/node_modules/loader-utils/package.json,/node_modules/webpack/node_modules/loader-utils/package.json
CVE-2022-37601 - Critical Severity Vulnerability
Vulnerable Libraries - loader-utils-1.2.3.tgz, loader-utils-1.1.0.tgz
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/next/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/css-loader/node_modules/loader-utils/package.json,/node_modules/webpack/node_modules/loader-utils/package.json
Dependency Hierarchy: - next-offline-4.0.6.tgz (Root Library) - webpack-4.41.0.tgz - :x: **loader-utils-1.2.3.tgz** (Vulnerable Library)
loader-utils-1.1.0.tgz
utils for webpack loaders
Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/loader-utils/package.json
Dependency Hierarchy: - next-9.1.4.tgz (Root Library) - mini-css-extract-plugin-0.8.0.tgz - :x: **loader-utils-1.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: 64835ad5082195a2a55851bf946bac25617c7170
Found in base branch: master
Vulnerability Details
Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils 2.0.0 via the name variable in parseQuery.js.
Publish Date: 2022-10-12
URL: CVE-2022-37601
CVSS 3 Score Details (9.8)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-76p3-8jx3-jpfq
Release Date: 2022-10-12
Fix Resolution (loader-utils): 1.4.1
Direct dependency fix Resolution (next-offline): 5.0.0-6.0
Fix Resolution (loader-utils): 1.4.1
Direct dependency fix Resolution (next): 12.0.9-canary.1
Step up your Open Source Security Game with Mend here