This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.
: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.
CVE-2020-7754 - High Severity Vulnerability
Vulnerable Library - npm-user-validate-1.0.0.tgz
User validations for npm
Library home page: https://registry.npmjs.org/npm-user-validate/-/npm-user-validate-1.0.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/npm/node_modules/npm-user-validate/package.json
Dependency Hierarchy: - semantic-release-15.14.0.tgz (Root Library) - npm-5.1.7.tgz - npm-6.9.0.tgz - :x: **npm-user-validate-1.0.0.tgz** (Vulnerable Library)
Found in HEAD commit: 182dd874017bffa87268b46b29bc563fc20ed112
Found in base branch: develop
Vulnerability Details
This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.
Publish Date: 2020-10-27
URL: CVE-2020-7754
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-2020-7754
Release Date: 2020-10-27
Fix Resolution (npm-user-validate): 1.0.1
Direct dependency fix Resolution (semantic-release): 16.0.0
Step up your Open Source Security Game with Mend here