Path to vulnerable library: kienba/functions/node_modules/espree/node_modules/acorn/package.json,kienba/functions/node_modules/espree/node_modules/acorn/package.json
acorn is vulnerable to REGEX DoS. A regex of the form /[x-\ud800]/u causes the parser to enter an infinite loop. attackers may leverage the vulnerability leading to a Denial of Service since the string is not valid UTF16 and it results in it being sanitized before reaching the parser.
WS-2020-0042 - High Severity Vulnerability
Vulnerable Library - acorn-5.5.3.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-5.5.3.tgz
Path to dependency file: kienba/package.json
Path to vulnerable library: kienba/functions/node_modules/espree/node_modules/acorn/package.json,kienba/functions/node_modules/espree/node_modules/acorn/package.json
Dependency Hierarchy: - webpack-3.11.0.tgz (Root Library) - :x: **acorn-5.5.3.tgz** (Vulnerable Library)
Found in HEAD commit: 97fe16b3c158e8ce4fbc8aa20cf497b48872d70c
Vulnerability Details
acorn is vulnerable to REGEX DoS. A regex of the form /[x-\ud800]/u causes the parser to enter an infinite loop. attackers may leverage the vulnerability leading to a Denial of Service since the string is not valid UTF16 and it results in it being sanitized before reaching the parser.
Publish Date: 2020-03-01
URL: WS-2020-0042
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://www.npmjs.com/advisories/1488
Release Date: 2020-03-08
Fix Resolution: 7.1.1
Step up your Open Source Security Game with WhiteSource here