Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.
:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.
CVE-2019-10744 - Critical Severity Vulnerability
Vulnerable Libraries - lodash.merge-3.3.2.tgz, lodash-4.17.4.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: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json
Path to vulnerable library: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/node_modules/lodash.merge/package.json
Dependency Hierarchy: - em-table-0.12.0.tgz (Root Library) - ember-cli-less-1.5.4.tgz - :x: **lodash.merge-3.3.2.tgz** (Vulnerable Library)
lodash-4.17.4.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz
Path to dependency file: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/package.json
Path to vulnerable library: /hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/node_modules/form-data/node_modules/lodash/package.json
Dependency Hierarchy: - em-table-0.12.0.tgz (Root Library) - phantomjs-prebuilt-2.1.13.tgz - request-2.74.0.tgz - form-data-1.0.1.tgz - async-2.3.0.tgz - :x: **lodash-4.17.4.tgz** (Vulnerable Library)
Found in HEAD commit: 6dcd8400219941dcbd7fb0f6b980cc2c6a2a6b0a
Found in base branch: trunk
Vulnerability Details
Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution. The function defaultsDeep could be tricked into adding or modifying properties of Object.prototype using a constructor payload.
Publish Date: 2019-07-25
URL: CVE-2019-10744
CVSS 3 Score Details (9.1)
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: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-jf85-cpcp-j695
Release Date: 2019-07-25
Fix Resolution (lodash): 4.6.2
Direct dependency fix Resolution (em-table): 0.12.1
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.