lodash.mergewith before 4.6.2 is vulnerable to prototype pollution. The function mergeWith() may allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.
WS-2019-0180 - High Severity Vulnerability
Vulnerable Library - lodash.mergewith-4.6.1.tgz
The Lodash method `_.mergeWith` exported as a module.
Library home page: https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz
Path to dependency file: /vue-scheme/package.json
Path to vulnerable library: /node_modules/lodash.mergewith/package.json
Dependency Hierarchy: - cli-plugin-e2e-nightwatch-3.9.2.tgz (Root Library) - nightwatch-0.9.21.tgz - lodash.defaultsdeep-4.3.2.tgz - :x: **lodash.mergewith-4.6.1.tgz** (Vulnerable Library)
Found in HEAD commit: 00fbbf1249d4b7cb16b6f1046bb6b647c82893a2
Found in base branch: develop
Vulnerability Details
lodash.mergewith before 4.6.2 is vulnerable to prototype pollution. The function mergeWith() may allow a malicious user to modify the prototype of Object via {constructor: {prototype: {...}}} causing the addition or modification of an existing property that will exist on all objects.
Publish Date: 2019-08-14
URL: WS-2019-0180
CVSS 3 Score Details (7.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.npmjs.com/advisories/1071
Release Date: 2019-08-14
Fix Resolution (lodash.mergewith): 4.6.2
Direct dependency fix Resolution (@vue/cli-plugin-e2e-nightwatch): 3.10.0
Step up your Open Source Security Game with Mend here