Open mend-bolt-for-github[bot] opened 3 years ago
: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.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
WS-2020-0042 - High Severity Vulnerability
Vulnerable Libraries - acorn-6.1.1.tgz, acorn-7.1.0.tgz, acorn-5.6.2.tgz, acorn-6.3.0.tgz, acorn-5.7.3.tgz, acorn-6.0.4.tgz
acorn-6.1.1.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz
Path to dependency file: /aws-node-fullstack/frontend/package.json
Path to vulnerable library: /aws-node-fullstack/frontend/node_modules/acorn/package.json
Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - eslint-5.12.0.tgz - espree-5.0.1.tgz - :x: **acorn-6.1.1.tgz** (Vulnerable Library)
acorn-7.1.0.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz
Path to dependency file: /aws-node-typescript-sqs-standard/package.json
Path to vulnerable library: /aws-node-typescript-sqs-standard/node_modules/espree/node_modules/acorn/package.json
Dependency Hierarchy: - eslint-6.6.0.tgz (Root Library) - espree-6.1.2.tgz - :x: **acorn-7.1.0.tgz** (Vulnerable Library)
acorn-5.6.2.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-5.6.2.tgz
Path to dependency file: /aws-node-oauth-dropbox-api/package.json
Path to vulnerable library: /aws-node-oauth-dropbox-api/node_modules/acorn/package.json
Dependency Hierarchy: - eslint-4.19.1.tgz (Root Library) - espree-3.5.4.tgz - :x: **acorn-5.6.2.tgz** (Vulnerable Library)
acorn-6.3.0.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-6.3.0.tgz
Path to dependency file: /aws-node-typescript-sqs-standard/package.json
Path to vulnerable library: /aws-node-typescript-sqs-standard/node_modules/acorn/package.json
Dependency Hierarchy: - webpack-4.41.2.tgz (Root Library) - :x: **acorn-6.3.0.tgz** (Vulnerable Library)
acorn-5.7.3.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz
Path to dependency file: /aws-node-typescript-nest/package.json
Path to vulnerable library: /aws-node-typescript-nest/node_modules/acorn/package.json,/aws-node-fullstack/frontend/node_modules/jsdom/node_modules/acorn/package.json,/aws-node-github-check/node_modules/acorn/package.json,/aws-node-fullstack/frontend/node_modules/acorn-dynamic-import/node_modules/acorn/package.json,/aws-node-fullstack/frontend/node_modules/webpack/node_modules/acorn/package.json
Dependency Hierarchy: - react-scripts-2.1.8.tgz (Root Library) - jest-23.6.0.tgz - jest-cli-23.6.0.tgz - jest-environment-jsdom-23.4.0.tgz - jsdom-11.12.0.tgz - :x: **acorn-5.7.3.tgz** (Vulnerable Library)
acorn-6.0.4.tgz
ECMAScript parser
Library home page: https://registry.npmjs.org/acorn/-/acorn-6.0.4.tgz
Path to dependency file: /aws-node-typescript-nest/package.json
Path to vulnerable library: /aws-node-typescript-nest/node_modules/acorn-globals/node_modules/acorn/package.json,/aws-node-typescript-nest/node_modules/acorn-node/node_modules/acorn/package.json
Dependency Hierarchy: - serverless-plugin-optimize-4.0.2-rc.1.tgz (Root Library) - browserify-16.2.3.tgz - syntax-error-1.4.0.tgz - acorn-node-1.6.2.tgz - :x: **acorn-6.0.4.tgz** (Vulnerable Library)
Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4
Found in base branch: master
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://github.com/advisories/GHSA-6chw-6frg-f759
Release Date: 2020-03-01
Fix Resolution (acorn): 6.4.1
Direct dependency fix Resolution (react-scripts): 3.0.0
Fix Resolution (acorn): 6.4.1
Direct dependency fix Resolution (eslint): 6.7.0
Fix Resolution (acorn): 6.4.1
Direct dependency fix Resolution (eslint): 5.0.0
Fix Resolution (acorn): 6.4.1
Direct dependency fix Resolution (webpack): 4.41.3
Fix Resolution (acorn): 6.4.1
Direct dependency fix Resolution (react-scripts): 3.0.0
Step up your Open Source Security Game with Mend here