dhis2-club-tanzania / dhis2-period

Typescript library for period services for DHIS2
GNU Lesser General Public License v3.0
0 stars 3 forks source link

WS-2020-0218 (High) detected in merge-1.2.1.tgz #50

Closed mend-bolt-for-github[bot] closed 3 years ago

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

WS-2020-0218 - High Severity Vulnerability

Vulnerable Library - merge-1.2.1.tgz

Merge multiple objects into one, optionally creating a new cloned object. Similar to the jQuery.extend but more flexible. Works in Node.js and the browser.

Library home page: https://registry.npmjs.org/merge/-/merge-1.2.1.tgz

Path to dependency file: dhis2-period/package.json

Path to vulnerable library: dhis2-period/node_modules/merge/package.json

Dependency Hierarchy: - commitizen-4.0.3.tgz (Root Library) - find-node-modules-2.0.0.tgz - :x: **merge-1.2.1.tgz** (Vulnerable Library)

Found in HEAD commit: 01caeb839bcc6b81756c1e1504379bfd4aab6468

Found in base branch: develop

Vulnerability Details

A Prototype Pollution vulnerability was found in merge before 2.1.0 via the merge.recursive function. It can be tricked into adding or modifying properties of the Object prototype. These properties will be present on all objects.

Publish Date: 2020-10-09

URL: WS-2020-0218

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/yeikos/js.merge/pull/38

Release Date: 2020-10-09

Fix Resolution: merge - 2.1.0


Step up your Open Source Security Game with WhiteSource here