WS-2020-0218 (High) detected in merge-1.2.0.tgz - autoclosed
mend-bolt-for-github opened this issue · comments
WS-2020-0218 - High Severity Vulnerability
Vulnerable Library - merge-1.2.0.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.0.tgz
Path to dependency file: advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/package.json
Path to vulnerable library: advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json,advanced-web-developer-bootcamp-notes-examples-and-exercises/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/merge/package.json
Dependency Hierarchy:
- react-scripts-1.1.4.tgz (Root Library)
- jest-20.0.4.tgz
- jest-cli-20.0.4.tgz
- jest-haste-map-20.0.5.tgz
- sane-1.6.0.tgz
- exec-sh-0.2.2.tgz
❌ merge-1.2.0.tgz (Vulnerable Library)
- exec-sh-0.2.2.tgz
- sane-1.6.0.tgz
- jest-haste-map-20.0.5.tgz
- jest-cli-20.0.4.tgz
- jest-20.0.4.tgz
Found in base branch: master
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
Suggested Fix
Type: Upgrade version
Origin: yeikos/js.merge#38
Release Date: 2020-10-09
Fix Resolution: merge - 2.1.0
Step up your Open Source Security Game with WhiteSource here