Skip to content

resolve-url-loader-3.1.4.tgz: 9 vulnerabilities (highest severity is: 9.8) [master] (reachable) #102

@mend-developer-platform-dev

Description

@mend-developer-platform-dev
📂 Vulnerable Library - resolve-url-loader-3.1.4.tgz

Webpack loader that resolves relative paths in url() statements based on the original source file

Findings

Finding Severity 🎯 CVSS Exploit Maturity EPSS Library Type Fixed in Remediation Available Reachability
CVE-289561-266276 🟣 Critical 9.8 N/A N/A inherits-2.0.4.tgz Transitive N/A
CVE-2022-37601 🟣 Critical 9.3 Not Defined 24.6% loader-utils-2.0.2.tgz Transitive N/A Unreachable
CVE-2022-37601 🟣 Critical 9.3 Not Defined 24.6% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37599 🔴 High 8.7 Not Defined 7.1000004% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37599 🔴 High 8.7 Not Defined 7.1000004% loader-utils-2.0.2.tgz Transitive N/A Unreachable
CVE-2022-37603 🔴 High 8.7 Not Defined 1.7% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37603 🔴 High 8.7 Not Defined 1.7% loader-utils-2.0.2.tgz Transitive N/A Unreachable
CVE-2022-38900 🔴 High 8.7 Not Defined < 1% decode-uri-component-0.2.0.tgz Transitive N/A Reachable
CVE-2022-46175 🟠 Medium 6.1 Not Defined 40.5% json5-1.0.1.tgz Transitive N/A Reachable

Details

🟣CVE-289561-266276

Vulnerable Library - inherits-2.0.4.tgz

Browser-friendly inheritance fully compatible with standard node.js inherits()

Library home page: https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz

Dependency Hierarchy:

  • mongoose-5.13.14.tgz (Root Library)

    • mongodb-3.7.3.tgz
      • bl-2.2.1.tgz
        • readable-stream-2.3.7.tgz
          • inherits-2.0.4.tgz (Vulnerable Library)
  • jest-circus-29.1.2.tgz (Root Library)

    • jest-runtime-29.1.2.tgz
      • glob-7.1.6.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • terser-webpack-plugin-4.2.3.tgz (Root Library)

    • cacache-15.0.5.tgz
      • glob-7.1.6.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • react-dev-utils-12.0.1.tgz (Root Library)

    • fork-ts-checker-webpack-plugin-6.5.2.tgz
      • glob-7.1.6.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • jest-26.6.0.tgz (Root Library)

    • core-26.6.3.tgz
      • jest-config-26.6.3.tgz
        • glob-7.1.6.tgz
          • inherits-2.0.4.tgz (Vulnerable Library)
  • webpack-dev-server-4.9.0.tgz (Root Library)

    • spdy-4.0.2.tgz
      • spdy-transport-3.0.0.tgz
        • hpack.js-2.1.6.tgz
          • readable-stream-2.3.7.tgz
            • inherits-2.0.4.tgz (Vulnerable Library)
  • express-4.17.1.tgz (Root Library)

    • send-0.17.1.tgz
      • http-errors-1.7.3.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • jest-dom-5.11.9.tgz (Root Library)

    • css-3.0.0.tgz
      • inherits-2.0.4.tgz (Vulnerable Library)
  • jest-circus-26.6.0.tgz (Root Library)

    • jest-runtime-26.6.3.tgz
      • glob-7.1.6.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • rework-1.0.1.tgz
      • css-2.2.4.tgz
        • inherits-2.0.4.tgz (Vulnerable Library)
  • jest-dom-5.11.6.tgz (Root Library)

    • css-3.0.0.tgz
      • inherits-2.0.4.tgz (Vulnerable Library)

Vulnerability Details

Created automatically by the test suite

Publish Date: Jun 07, 2010 05:12 PM

URL: CVE-289561-266276

Threat Assessment

Exploit Maturity:N/A

EPSS:N/A

Score: 9.8


Suggested Fix

Type: Upgrade version

Origin:

Release Date:

Fix Resolution :

🟣CVE-2022-37601

Vulnerable Library - loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Dependency Hierarchy:

  • style-loader-1.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • react-refresh-webpack-plugin-0.5.7.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • url-loader-4.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • css-loader-4.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • file-loader-6.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • adjust-sourcemap-loader-3.0.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


Vulnerability Details

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.

Publish Date: Oct 12, 2022 12:00 AM

URL: CVE-2022-37601

Threat Assessment

Exploit Maturity:Not Defined

EPSS:24.6%

Score: 9.3


Suggested Fix

Type: Upgrade version

Origin: GHSA-76p3-8jx3-jpfq

Release Date: Oct 12, 2022 12:00 AM

Fix Resolution : loader-utils - 2.0.3,loader-utils - 1.4.1

🟣CVE-2022-37601

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

Dependency Hierarchy:

  • resolve-url-loader-3.1.4.tgz (Root Library)
    • loader-utils-1.2.3.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


Vulnerability Details

Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.

Publish Date: Oct 12, 2022 12:00 AM

URL: CVE-2022-37601

Threat Assessment

Exploit Maturity:Not Defined

EPSS:24.6%

Score: 9.3


Suggested Fix

Type: Upgrade version

Origin: GHSA-76p3-8jx3-jpfq

Release Date: Oct 12, 2022 12:00 AM

Fix Resolution : loader-utils - 2.0.3,loader-utils - 1.4.1

🔴CVE-2022-37599

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

Dependency Hierarchy:

  • resolve-url-loader-3.1.4.tgz (Root Library)
    • loader-utils-1.2.3.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


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 resourcePath variable in interpolateName.js.

Publish Date: Oct 11, 2022 12:00 AM

URL: CVE-2022-37599

Threat Assessment

Exploit Maturity:Not Defined

EPSS:7.1000004%

Score: 8.7


Suggested Fix

Type: Upgrade version

Origin: https://osv.dev/vulnerability/CVE-2022-37599

Release Date: Oct 11, 2022 12:00 AM

Fix Resolution : https://github.com/webpack/loader-utils.git - no_fix,loader-utils - 1.4.2,loader-utils - 2.0.4,loader-utils - 3.2.1

🔴CVE-2022-37599

Vulnerable Library - loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Dependency Hierarchy:

  • style-loader-1.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • react-refresh-webpack-plugin-0.5.7.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • url-loader-4.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • css-loader-4.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • file-loader-6.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • adjust-sourcemap-loader-3.0.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


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 resourcePath variable in interpolateName.js.

Publish Date: Oct 11, 2022 12:00 AM

URL: CVE-2022-37599

Threat Assessment

Exploit Maturity:Not Defined

EPSS:7.1000004%

Score: 8.7


Suggested Fix

Type: Upgrade version

Origin: https://osv.dev/vulnerability/CVE-2022-37599

Release Date: Oct 11, 2022 12:00 AM

Fix Resolution : https://github.com/webpack/loader-utils.git - no_fix,loader-utils - 1.4.2,loader-utils - 2.0.4,loader-utils - 3.2.1

🔴CVE-2022-37603

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

Dependency Hierarchy:

  • resolve-url-loader-3.1.4.tgz (Root Library)
    • loader-utils-1.2.3.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


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: Oct 14, 2022 12:00 AM

URL: CVE-2022-37603

Threat Assessment

Exploit Maturity:Not Defined

EPSS:1.7%

Score: 8.7


Suggested Fix

Type: Upgrade version

Origin: GHSA-3rfm-jhwj-7488

Release Date: Oct 14, 2022 12:00 AM

Fix Resolution : loader-utils - 1.4.2,loader-utils - 3.2.1,loader-utils - 2.0.4

🔴CVE-2022-37603

Vulnerable Library - loader-utils-2.0.2.tgz

utils for webpack loaders

Library home page: https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz

Dependency Hierarchy:

  • style-loader-1.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • react-refresh-webpack-plugin-0.5.7.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • url-loader-4.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • css-loader-4.3.0.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • file-loader-6.1.1.tgz (Root Library)

    • loader-utils-2.0.2.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • adjust-sourcemap-loader-3.0.0.tgz
      • loader-utils-2.0.2.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


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: Oct 14, 2022 12:00 AM

URL: CVE-2022-37603

Threat Assessment

Exploit Maturity:Not Defined

EPSS:1.7%

Score: 8.7


Suggested Fix

Type: Upgrade version

Origin: GHSA-3rfm-jhwj-7488

Release Date: Oct 14, 2022 12:00 AM

Fix Resolution : loader-utils - 1.4.2,loader-utils - 3.2.1,loader-utils - 2.0.4

🔴CVE-2022-38900

Vulnerable Library - decode-uri-component-0.2.0.tgz

A better decodeURIComponent

Library home page: https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz

Dependency Hierarchy:

  • jest-26.6.0.tgz (Root Library)

    • core-26.6.3.tgz
      • jest-haste-map-26.6.2.tgz
        • sane-4.1.0.tgz
          • micromatch-3.1.10.tgz
            • snapdragon-0.8.2.tgz
              • source-map-resolve-0.5.3.tgz
                • decode-uri-component-0.2.0.tgz (Vulnerable Library)
  • jest-dom-5.11.9.tgz (Root Library)

    • css-3.0.0.tgz
      • source-map-resolve-0.6.0.tgz
        • decode-uri-component-0.2.0.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • rework-1.0.1.tgz
      • css-2.2.4.tgz
        • source-map-resolve-0.5.3.tgz
          • decode-uri-component-0.2.0.tgz (Vulnerable Library)
  • babel-jest-26.6.3.tgz (Root Library)

    • transform-26.6.2.tgz
      • jest-haste-map-26.6.2.tgz
        • sane-4.1.0.tgz
          • micromatch-3.1.10.tgz
            • snapdragon-0.8.2.tgz
              • source-map-resolve-0.5.3.tgz
                • decode-uri-component-0.2.0.tgz (Vulnerable Library)
  • jest-dom-5.11.6.tgz (Root Library)

    • css-3.0.0.tgz
      • source-map-resolve-0.6.0.tgz
        • decode-uri-component-0.2.0.tgz (Vulnerable Library)

Reachability Analysis

This vulnerability is potentially reachable:


Vulnerability Details

decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.

Publish Date: Nov 28, 2022 12:00 AM

URL: CVE-2022-38900

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 8.7


Suggested Fix

Type: Upgrade version

Origin:

Release Date:

Fix Resolution :

🟠CVE-2022-46175

Vulnerable Library - json5-1.0.1.tgz

JSON for humans.

Library home page: https://registry.npmjs.org/json5/-/json5-1.0.1.tgz

Dependency Hierarchy:

  • babel-loader-8.1.0.tgz (Root Library)

    • loader-utils-1.4.0.tgz
      • json5-1.0.1.tgz (Vulnerable Library)
  • eslint-plugin-import-2.22.1.tgz (Root Library)

    • tsconfig-paths-3.9.0.tgz
      • json5-1.0.1.tgz (Vulnerable Library)
  • mini-css-extract-plugin-0.11.3.tgz (Root Library)

    • loader-utils-1.4.0.tgz
      • json5-1.0.1.tgz (Vulnerable Library)
  • html-webpack-plugin-4.5.0.tgz (Root Library)

    • loader-utils-1.4.0.tgz
      • json5-1.0.1.tgz (Vulnerable Library)
  • resolve-url-loader-3.1.4.tgz (Root Library)

    • loader-utils-1.2.3.tgz
      • json5-1.0.1.tgz (Vulnerable Library)

Reachability Analysis

This vulnerability is potentially reachable:


Vulnerability Details

JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The "parse" method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named "proto", allowing specially crafted strings to pollute the prototype of the resulting object. This vulnerability pollutes the prototype of the object returned by "JSON5.parse" and not the global Object prototype, which is the commonly understood definition of Prototype Pollution. However, polluting the prototype of a single object can have significant security impact for an application if the object is later used in trusted operations. This vulnerability could allow an attacker to set arbitrary and unexpected keys on the object returned from "JSON5.parse". The actual impact will depend on how applications utilize the returned object and how they filter unwanted keys, but could include denial of service, cross-site scripting, elevation of privilege, and in extreme cases, remote code execution. "JSON5.parse" should restrict parsing of "proto" keys when parsing JSON strings to objects. As a point of reference, the "JSON.parse" method included in JavaScript ignores "proto" keys. Simply changing "JSON5.parse" to "JSON.parse" in the examples above mitigates this vulnerability. This vulnerability is patched in json5 versions 1.0.2, 2.2.2, and later.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: Dec 24, 2022 12:00 AM

URL: CVE-2022-46175

Threat Assessment

Exploit Maturity:Not Defined

EPSS:40.5%

Score: 6.1


Suggested Fix

Type: Upgrade version

Origin: GHSA-9c47-m6qq-7p4h

Release Date: Dec 24, 2022 12:00 AM

Fix Resolution : json5 - 1.0.2,json5 - 2.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions