Watemlifts / NextSimpleStarter

:star: Simple PWA boilerplate with nextjs 8 and redux + React Hooks
https://nextss.now.sh
MIT License
1 stars 0 forks source link

CVE-2022-37603 (High) detected in loader-utils-1.2.3.tgz, loader-utils-1.1.0.tgz #805

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-37603 - High 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: ac0fa999b44119e16e88460b115294c73ce1f351

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-offline): 5.0.0-6.0

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