A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
WS-2018-0590 - High Severity Vulnerability
Vulnerable Library - diff-3.3.1.tgz
A javascript text diff implementation.
Library home page: https://registry.npmjs.org/diff/-/diff-3.3.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/diff/package.json
Dependency Hierarchy: - gulp-mocha-5.0.0.tgz (Root Library) - mocha-4.1.0.tgz - :x: **diff-3.3.1.tgz** (Vulnerable Library)
Found in HEAD commit: c433bf360318c345fe3865915255b102ad59a470
Found in base branch: master
Vulnerability Details
A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.
Publish Date: 2018-03-05
URL: WS-2018-0590
CVSS 3 Score Details (7.1)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2018-03-05
Fix Resolution (diff): 3.5.0
Direct dependency fix Resolution (gulp-mocha): 6.0.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.