Open mend-bolt-for-github[bot] opened 2 years ago
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/terser
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
JavaScript parser, mangler/compressor and beautifier toolkit for ES6+
Library home page: https://registry.npmjs.org/terser/-/terser-5.4.0.tgz
Dependency Hierarchy: - terser-webpack-plugin-5.0.3.tgz (Root Library) - :x: **terser-5.4.0.tgz** (Vulnerable Library)
Found in base branch: master
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
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
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 (terser-webpack-plugin): 5.1.0
Vulnerable Library - terser-webpack-plugin-5.0.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/terser
Vulnerabilities
**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.4.0.tgzJavaScript parser, mangler/compressor and beautifier toolkit for ES6+
Library home page: https://registry.npmjs.org/terser/-/terser-5.4.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/terser
Dependency Hierarchy: - terser-webpack-plugin-5.0.3.tgz (Root Library) - :x: **terser-5.4.0.tgz** (Vulnerable Library)
Found in base branch: master
### Vulnerability DetailsThe 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 FixType: 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 (terser-webpack-plugin): 5.1.0
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)