CVE-2022-25858 (High) detected in terser-3.17.0.tgz
mend-bolt-for-github opened this issue · comments
CVE-2022-25858 - High Severity Vulnerability
Vulnerable Library - terser-3.17.0.tgz
JavaScript parser, mangler/compressor and beautifier toolkit for ES6+
Library home page: https://registry.npmjs.org/terser/-/terser-3.17.0.tgz
Path to dependency file: /EcommEasy-Admin/package.json
Path to vulnerable library: /node_modules/terser/package.json
Dependency Hierarchy:
- webpack-4.29.6.tgz (Root Library)
- terser-webpack-plugin-1.2.3.tgz
- ❌ terser-3.17.0.tgz (Vulnerable Library)
- terser-webpack-plugin-1.2.3.tgz
Found in HEAD commit: 7f59033ff8afe2f83ad2413d6b10103e2f2d764e
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
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 (webpack): 4.30.0
Step up your Open Source Security Game with Mend here