Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

CVE-2022-25858 (Medium) detected in terser-4.6.3.tgz #124

Open
mend-bolt-for-github bot opened this issue Jul 18, 2022 · 0 comments
Open

CVE-2022-25858 (Medium) detected in terser-4.6.3.tgz #124

mend-bolt-for-github bot opened this issue Jul 18, 2022 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

CVE-2022-25858 - Medium Severity Vulnerability

Vulnerable Library - terser-4.6.3.tgz

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

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • @deliverybot/run-0.7.2.tgz (Root Library)
    • webpack-4.41.5.tgz
      • terser-webpack-plugin-1.4.3.tgz
        • terser-4.6.3.tgz (Vulnerable Library)

Found in HEAD commit: bd51b1f8b9a3c21e299c3eabc04e1478a88c2a66

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 - 4.8.1,5.14.2


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants