loftwah/casualcoder.io

CVE-2022-37601 (Critical) detected in loader-utils-1.4.0.tgz, loader-utils-2.0.0.tgz

Opened this issue · 0 comments

CVE-2022-37601 - Critical Severity Vulnerability

Vulnerable Libraries - loader-utils-1.4.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: /wp-content/themes/twentytwenty/package.json

Path to vulnerable library: /wp-content/themes/twentytwenty/node_modules/source-map-loader/node_modules/loader-utils/package.json,/wp-content/themes/twentytwenty/node_modules/webpack-cli/node_modules/loader-utils/package.json,/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/node_modules/loader-utils/package.json,/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-vaulting/node_modules/loader-utils/package.json,/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/node_modules/loader-utils/package.json,/wp-content/themes/twentytwenty/node_modules/babel-loader/node_modules/loader-utils/package.json,/wp-content/themes/twentytwenty/node_modules/webpack/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • scripts-16.1.2.tgz (Root Library)
    • babel-loader-8.2.2.tgz
      • loader-utils-1.4.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: /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/package.json

Path to vulnerable library: /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/node_modules/file-loader/node_modules/loader-utils/package.json,/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-vaulting/node_modules/file-loader/node_modules/loader-utils/package.json,/wp-content/themes/twentytwenty/node_modules/loader-utils/package.json,/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/node_modules/file-loader/node_modules/loader-utils/package.json

Dependency Hierarchy:

  • scripts-16.1.2.tgz (Root Library)
    • css-loader-5.2.6.tgz
      • loader-utils-2.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 928b87c3f458bb28df552e1c49bfeb1231a16bcf

Found in base branch: main

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: GHSA-76p3-8jx3-jpfq

Release Date: 2022-10-12

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (@wordpress/scripts): 16.1.3

Fix Resolution (loader-utils): 1.4.1

Direct dependency fix Resolution (@wordpress/scripts): 16.1.3


Step up your Open Source Security Game with Mend here