faizulho / sanity-gatsby-blog

Blog with Gatsby
0 stars 0 forks source link

CVE-2022-37603 (High) detected in multiple libraries #538

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

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

CVE-2022-37603 - High Severity Vulnerability

Vulnerable Libraries - loader-utils-1.4.0.tgz, loader-utils-1.1.0.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: /studio/package.json

Path to vulnerable library: /studio/node_modules/babel-loader/node_modules/loader-utils/package.json,/web/node_modules/loader-utils/package.json

Dependency Hierarchy: - core-2.19.2.tgz (Root Library) - server-2.19.0.tgz - babel-loader-8.2.2.tgz - :x: **loader-utils-1.4.0.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: /studio/package.json

Path to vulnerable library: /studio/node_modules/loader-utils/package.json

Dependency Hierarchy: - core-2.19.2.tgz (Root Library) - server-2.19.0.tgz - css-loader-0.28.12.tgz - :x: **loader-utils-1.1.0.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: /web/package.json

Path to vulnerable library: /web/node_modules/file-loader/node_modules/loader-utils/package.json,/web/node_modules/gatsby-plugin-postcss/node_modules/loader-utils/package.json,/web/node_modules/raw-loader/node_modules/loader-utils/package.json,/web/node_modules/react-dev-utils/node_modules/loader-utils/package.json,/web/node_modules/css-loader/node_modules/loader-utils/package.json,/web/node_modules/url-loader/node_modules/loader-utils/package.json,/web/node_modules/mini-css-extract-plugin/node_modules/loader-utils/package.json,/web/node_modules/style-loader/node_modules/loader-utils/package.json,/web/node_modules/null-loader/node_modules/loader-utils/package.json

Dependency Hierarchy: - gatsby-3.13.0.tgz (Root Library) - mini-css-extract-plugin-1.6.2.tgz - :x: **loader-utils-2.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 79771ad30d8e68c487b064fabb669d2057bec868

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 (@sanity/core): 2.20.1-canary.113

Fix Resolution (loader-utils): 1.4.2

Direct dependency fix Resolution (@sanity/core): 2.20.1-canary.113

Fix Resolution (loader-utils): 1.4.2

Direct dependency fix Resolution (gatsby): 3.13.1


Step up your Open Source Security Game with Mend here