Skip to content

html-loader-0.5.5.tgz: 7 vulnerabilities (highest severity is: 9.8) [trunk] (unreachable) #128

@renovate

Description

@renovate
📂 Vulnerable Library - html-loader-0.5.5.tgz

html loader module for webpack

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Findings

Finding Severity 🎯 CVSS Exploit Maturity EPSS Library Type Fixed in Remediation Available Reachability
CVE-2021-44906 🟣 Critical 9.8 Not Defined < 1% minimist-1.2.0.tgz Transitive N/A Unreachable
CVE-2022-37601 🟣 Critical 9.8 Not Defined 20.068% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37599 🔴 High 7.5 Not Defined 4.206% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37603 🔴 High 7.5 Not Defined 1.331% loader-utils-1.2.3.tgz Transitive N/A Unreachable
CVE-2022-37620 🔴 High 7.5 Not Defined < 1% html-minifier-3.5.21.tgz Transitive N/A Unreachable
CVE-2022-46175 🔴 High 7.1 Not Defined 46.501% json5-1.0.1.tgz Transitive N/A Unreachable
CVE-2020-7598 🟠 Medium 5.6 Not Defined < 1% minimist-1.2.0.tgz Transitive N/A Unreachable

Details

🟣CVE-2021-44906

Vulnerable Library - minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • webpack-4.41.2.tgz
        • watchpack-1.6.0.tgz
          • chokidar-2.1.8.tgz
            • fsevents-1.2.9.tgz
              • node-pre-gyp-0.12.0.tgz
                • rc-1.2.8.tgz
                  • minimist-1.2.0.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

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

Reachability Analysis

The vulnerable code is unreachable


Vulnerability Details

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Publish Date: Mar 17, 2022 01:05 PM

URL: CVE-2021-44906

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 9.8


Suggested Fix

Type: Upgrade version

Origin: GHSA-xvch-5gv4-984h

Release Date: Mar 17, 2022 01:05 PM

Fix Resolution : minimist - 0.2.4,1.2.6

🟣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

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • extract-css-chunks-webpack-plugin-4.7.1.tgz
        • loader-utils-1.2.3.tgz (Vulnerable Library)
  • webpack-plugin-injector-1.0.7.tgz (Root Library)

    • copy-webpack-plugin-5.1.2.tgz
      • loader-utils-1.2.3.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

    • loader-utils-1.2.3.tgz (Vulnerable Library)
  • sass-loader-8.0.2.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:20.068%

Score: 9.8


Suggested Fix

Type: Upgrade version

Origin: GHSA-76p3-8jx3-jpfq

Release Date: Oct 12, 2022 12:00 AM

Fix Resolution : loader-utils - 1.4.1,2.0.3

🔴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

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • extract-css-chunks-webpack-plugin-4.7.1.tgz
        • loader-utils-1.2.3.tgz (Vulnerable Library)
  • webpack-plugin-injector-1.0.7.tgz (Root Library)

    • copy-webpack-plugin-5.1.2.tgz
      • loader-utils-1.2.3.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

    • loader-utils-1.2.3.tgz (Vulnerable Library)
  • sass-loader-8.0.2.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:4.206%

Score: 7.5


Suggested Fix

Type: Upgrade version

Origin: GHSA-hhq3-ff78-jv3g

Release Date: Oct 11, 2022 12:00 AM

Fix Resolution : loader-utils - 1.4.2,2.0.4,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

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • extract-css-chunks-webpack-plugin-4.7.1.tgz
        • loader-utils-1.2.3.tgz (Vulnerable Library)
  • webpack-plugin-injector-1.0.7.tgz (Root Library)

    • copy-webpack-plugin-5.1.2.tgz
      • loader-utils-1.2.3.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

    • loader-utils-1.2.3.tgz (Vulnerable Library)
  • sass-loader-8.0.2.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.331%

Score: 7.5


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,2.0.4,3.2.1

🔴CVE-2022-37620

Vulnerable Library - html-minifier-3.5.21.tgz

Highly configurable, well-tested, JavaScript-based HTML minifier.

Library home page: https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • html-webpack-plugin-3.2.0.tgz
        • html-minifier-3.5.21.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

    • html-minifier-3.5.21.tgz (Vulnerable Library)

Reachability Analysis

The vulnerable code is unreachable


Vulnerability Details

A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.

Publish Date: Oct 31, 2022 12:00 AM

URL: CVE-2022-37620

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 7.5


Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2022-37620

Release Date: Oct 31, 2022 12:00 AM

Fix Resolution : no_fix

🔴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

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • webpack-4.46.0.tgz (Root Library)

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

    • copy-webpack-plugin-5.1.2.tgz
      • loader-utils-1.2.3.tgz
        • json5-1.0.1.tgz (Vulnerable Library)
  • eslint-config-base-2.0.0.tgz (Root Library)

    • eslint-plugin-import-2.26.0.tgz
      • tsconfig-paths-3.14.1.tgz
        • json5-1.0.1.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

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

Reachability Analysis

The vulnerable code is unreachable


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:46.501%

Score: 7.1


Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2022-46175

Release Date: Dec 24, 2022 12:00 AM

Fix Resolution : json5 - 2.2.2

🟠CVE-2020-7598

Vulnerable Library - minimist-1.2.0.tgz

parse argument options

Library home page: https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz

Path to dependency file: /src/Administration/Resources/app/administration/build/nuxt-component-library/package.json

Dependency Hierarchy:

  • nuxt-2.10.2.tgz (Root Library)

    • webpack-2.10.2.tgz
      • webpack-4.41.2.tgz
        • watchpack-1.6.0.tgz
          • chokidar-2.1.8.tgz
            • fsevents-1.2.9.tgz
              • node-pre-gyp-0.12.0.tgz
                • rc-1.2.8.tgz
                  • minimist-1.2.0.tgz (Vulnerable Library)
  • html-loader-0.5.5.tgz (Root Library)

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

Reachability Analysis

The vulnerable code is unreachable


Vulnerability Details

minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a "constructor" or "proto" payload.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: Mar 11, 2020 09:40 PM

URL: CVE-2020-7598

Threat Assessment

Exploit Maturity:Not Defined

EPSS:< 1%

Score: 5.6


Suggested Fix

Type: Upgrade version

Origin: https://github.com/substack/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94

Release Date: Mar 11, 2020 09:40 PM

Fix Resolution : minimist - 0.2.1,1.2.3

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