dhis2-club-tanzania / integration-app

0 stars 0 forks source link

WS-2020-0042 (High) detected in multiple libraries #50

Open mend-bolt-for-github[bot] opened 4 years ago

mend-bolt-for-github[bot] commented 4 years ago

WS-2020-0042 - High Severity Vulnerability

Vulnerable Libraries - acorn-6.3.0.tgz, acorn-5.7.3.tgz, acorn-6.4.0.tgz

acorn-6.3.0.tgz

ECMAScript parser

Library home page: https://registry.npmjs.org/acorn/-/acorn-6.3.0.tgz

Path to dependency file: integration-app/package.json

Path to vulnerable library: integration-app/node_modules/acorn/package.json

Dependency Hierarchy: - build-angular-0.803.5.tgz (Root Library) - webpack-4.39.2.tgz - :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: integration-app/backend/package.json

Path to vulnerable library: integration-app/node_modules/falafel/node_modules/acorn/package.json,integration-app/node_modules/falafel/node_modules/acorn/package.json

Dependency Hierarchy: - compodoc-1.1.10.tgz (Root Library) - pdfmake-0.1.59.tgz - pdfkit-0.10.0.tgz - fontkit-1.8.0.tgz - brfs-1.6.1.tgz - static-module-2.2.5.tgz - falafel-2.1.0.tgz - :x: **acorn-5.7.3.tgz** (Vulnerable Library)

acorn-6.4.0.tgz

ECMAScript parser

Library home page: https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz

Path to dependency file: integration-app/backend/package.json

Path to vulnerable library: integration-app/backend/node_modules/acorn/package.json

Dependency Hierarchy: - cli-6.14.1.tgz (Root Library) - webpack-4.41.5.tgz - :x: **acorn-6.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: 112879b94d2e839cc967eec36af840a1cb40f41e

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