react-markdown-heading icon indicating copy to clipboard operation
react-markdown-heading copied to clipboard

html-webpack-plugin-5.5.0.tgz: 1 vulnerabilities (highest severity is: 5.3)

Open mend-bolt-for-github[bot] opened this issue 3 years ago • 0 comments

Vulnerable Library - html-webpack-plugin-5.5.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/terser/package.json

Found in HEAD commit: e103b6386c0031666a1203e2e1dc93586e0cd828

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (html-webpack-plugin version) Remediation Possible**
CVE-2022-25858 Medium 5.3 terser-5.10.0.tgz Transitive 5.5.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-25858

Vulnerable Library - terser-5.10.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-5.10.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/terser/package.json

Dependency Hierarchy:

  • html-webpack-plugin-5.5.0.tgz (Root Library)
    • html-minifier-terser-6.1.0.tgz
      • :x: terser-5.10.0.tgz (Vulnerable Library)

Found in HEAD commit: e103b6386c0031666a1203e2e1dc93586e0cd828

Found in base branch: main

Vulnerability Details

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Publish Date: 2022-07-15

URL: CVE-2022-25858

CVSS 3 Score Details (5.3)

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: Low
For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25858

Release Date: 2022-07-15

Fix Resolution (terser): 5.14.2

Direct dependency fix Resolution (html-webpack-plugin): 5.5.1

Step up your Open Source Security Game with Mend here