Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-25858 (High) detected in terser-4.8.0.tgz, terser-5.9.0.tgz #493

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

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jul 18, 2022

CVE-2022-25858 - High Severity Vulnerability

Vulnerable Libraries - terser-4.8.0.tgz, terser-5.9.0.tgz

terser-4.8.0.tgz

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

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • react-scripts-4.0.3.tgz (Root Library)
    • webpack-4.44.2.tgz
      • terser-webpack-plugin-1.4.5.tgz
        • terser-4.8.0.tgz (Vulnerable Library)
terser-5.9.0.tgz

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

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/terser-webpack-plugin/node_modules/terser/package.json

Dependency Hierarchy:

  • react-scripts-4.0.3.tgz (Root Library)
    • terser-webpack-plugin-4.2.3.tgz
      • terser-5.9.0.tgz (Vulnerable Library)

Found in HEAD commit: e567d0efc34f3a19e62c3dc5f8687f720f0bb942

Found in base branch: master

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 (7.5)

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: High

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

Direct dependency fix Resolution (react-scripts): 5.0.0

Fix Resolution (terser): 4.8.1

Direct dependency fix Resolution (react-scripts): 5.0.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 18, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2022-25858 (Medium) detected in terser-4.8.0.tgz, terser-5.9.0.tgz CVE-2022-25858 (High) detected in terser-4.8.0.tgz, terser-5.9.0.tgz Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants