billmcchesney1 / t-vault

Simplified secrets management solution
Apache License 2.0
0 stars 0 forks source link

CVE-2018-3721 (Medium) detected in multiple libraries #352

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2018-3721 - Medium Severity Vulnerability

Vulnerable Libraries - lodash.merge-3.3.2.tgz, lodash-2.4.2.tgz, lodash-3.7.0.tgz, lodash-3.10.1.tgz, lodash-1.0.2.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: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/lodash.merge/package.json

Dependency Hierarchy: - browser-sync-2.9.12.tgz (Root Library) - foxy-11.1.5.tgz - :x: **lodash.merge-3.3.2.tgz** (Vulnerable Library)

lodash-2.4.2.tgz

A utility library delivering consistency, customization, performance, & extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz

Path to dependency file: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/protractor/node_modules/lodash/package.json,/tvaultui/node_modules/wiredep/node_modules/lodash/package.json,/tvaultui/node_modules/htmllint/node_modules/lodash/package.json

Dependency Hierarchy: - wiredep-2.2.2.tgz (Root Library) - :x: **lodash-2.4.2.tgz** (Vulnerable Library)

lodash-3.7.0.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.7.0.tgz

Path to dependency file: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/htmlhint/node_modules/lodash/package.json

Dependency Hierarchy: - gulp-htmlhint-0.3.1.tgz (Root Library) - htmlhint-0.9.13.tgz - jshint-2.8.0.tgz - :x: **lodash-3.7.0.tgz** (Vulnerable Library)

lodash-3.10.1.tgz

The modern build of lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz

Path to dependency file: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/rcloader/node_modules/lodash/package.json,/tvaultui/node_modules/http-proxy-middleware/node_modules/lodash/package.json,/tvaultui/node_modules/jsdoctypeparser/node_modules/lodash/package.json,/tvaultui/node_modules/jscs/node_modules/lodash/package.json,/tvaultui/node_modules/babel-core/node_modules/lodash/package.json,/tvaultui/node_modules/xmlbuilder/node_modules/lodash/package.json,/tvaultui/node_modules/babel-plugin-proto-to-assign/node_modules/lodash/package.json,/tvaultui/node_modules/karma/node_modules/lodash/package.json,/tvaultui/node_modules/ng-dependencies/node_modules/lodash/package.json,/tvaultui/node_modules/karma-angular-filesort/node_modules/lodash/package.json,/tvaultui/node_modules/karma-phantomjs-launcher/node_modules/lodash/package.json,/tvaultui/node_modules/browser-sync/node_modules/lodash/package.json,/tvaultui/node_modules/opt-merger/node_modules/lodash/package.json,/tvaultui/node_modules/inquirer/node_modules/lodash/package.json

Dependency Hierarchy: - karma-phantomjs-launcher-0.2.3.tgz (Root Library) - :x: **lodash-3.10.1.tgz** (Vulnerable Library)

lodash-1.0.2.tgz

A utility library delivering consistency, customization, performance, and extras.

Library home page: https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz

Path to dependency file: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/globule/node_modules/lodash/package.json

Dependency Hierarchy: - gulp-3.9.1.tgz (Root Library) - vinyl-fs-0.3.14.tgz - glob-watcher-0.0.6.tgz - gaze-0.5.2.tgz - globule-0.1.0.tgz - :x: **lodash-1.0.2.tgz** (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mergeWith functions, which allows a malicious user to modify the prototype of "Object" via __proto__, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-06-07

URL: CVE-2018-3721

CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-3721

Release Date: 2018-04-26

Fix Resolution (lodash.merge): 4.6.1

Direct dependency fix Resolution (browser-sync): 2.12.1

Fix Resolution (lodash): 4.17.5

Direct dependency fix Resolution (wiredep): 4.0.0

Fix Resolution (lodash): 4.17.5

Direct dependency fix Resolution (gulp-htmlhint): 2.2.1

Fix Resolution (lodash): 4.17.5

Direct dependency fix Resolution (karma-phantomjs-launcher): 1.0.0

Fix Resolution (lodash): 4.17.5

Direct dependency fix Resolution (gulp): 4.0.0