Description
WS-2019-0185 - High Severity Vulnerability
Vulnerable Libraries - lodash.merge-4.6.1.tgz, lodash.merge-3.3.2.tgz
lodash.merge-4.6.1.tgz
The Lodash method `_.merge` exported as a module.
Library home page: https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.1.tgz
Path to dependency file: angular/yarn.lock
Path to vulnerable library: angular/yarn.lock,angular/aio/yarn.lock
Dependency Hierarchy:
- firebase-tools-5.1.1.tgz (Root Library)
- functions-emulator-1.0.0-beta.5.tgz
- googleapis-23.0.2.tgz
- google-auth-library-0.12.0.tgz
- ❌ lodash.merge-4.6.1.tgz (Vulnerable Library)
- google-auth-library-0.12.0.tgz
- googleapis-23.0.2.tgz
- functions-emulator-1.0.0-beta.5.tgz
lodash.merge-3.3.2.tgz
The modern build of lodash’s `_.merge` as a module.
Library home page: https://registry.npmjs.org/lodash.merge/-/lodash.merge-3.3.2.tgz
Path to dependency file: angular/packages/benchpress/node_modules/lodash.merge/package.json
Path to vulnerable library: angular/packages/benchpress/node_modules/lodash.merge/package.json
Dependency Hierarchy:
- jpm-1.1.4.tgz (Root Library)
- ❌ lodash.merge-3.3.2.tgz (Vulnerable Library)
Found in HEAD commit: cf1f1c0344fa01406f61ff7437a72714be39b47e
Vulnerability Details
lodash.merge before 4.6.2 is vulnerable to prototype pollution. The function merge() 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-0185
Suggested Fix
Type: Upgrade version
Origin: https://www.npmjs.com/advisories/1066
Release Date: 2019-08-14
Fix Resolution: 4.6.2