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.
Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions.
Mend Note: After conducting further research, Mend has determined that CVE-2020-28500 only affects environments with versions 4.0.0 to 4.17.20 of Lodash.
Vulnerable Library - lodash-4.17.11.min.js
A utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
Path to vulnerable library: /odules/lodash/lodash.min.js,/s/lodash/lodash.min.js,/dash/lodash.min.js,/ash/lodash.min.js,/lodash/lodash.min.js
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2019-10744
### Vulnerable Library - lodash-4.17.11.min.jsA utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
Path to vulnerable library: /odules/lodash/lodash.min.js,/s/lodash/lodash.min.js,/dash/lodash.min.js,/ash/lodash.min.js,/lodash/lodash.min.js
Dependency Hierarchy: - :x: **lodash-4.17.11.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsVersions 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-26
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 FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-jf85-cpcp-j695
Release Date: 2019-07-26
Fix Resolution: lodash-4.17.12, lodash-amd-4.17.12, lodash-es-4.17.12, lodash.defaultsdeep-4.6.1, lodash.merge- 4.6.2, lodash.mergewith-4.6.2, lodash.template-4.5.0
CVE-2020-8203
### Vulnerable Library - lodash-4.17.11.min.jsA utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
Path to vulnerable library: /odules/lodash/lodash.min.js,/s/lodash/lodash.min.js,/dash/lodash.min.js,/ash/lodash.min.js,/lodash/lodash.min.js
Dependency Hierarchy: - :x: **lodash-4.17.11.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsPrototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.
Publish Date: 2020-07-15
URL: CVE-2020-8203
### CVSS 3 Score Details (7.4)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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 FixType: Upgrade version
Origin: https://www.npmjs.com/advisories/1523
Release Date: 2020-07-15
Fix Resolution: lodash - 4.17.19
CVE-2021-23337
### Vulnerable Library - lodash-4.17.11.min.jsA utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
Path to vulnerable library: /odules/lodash/lodash.min.js,/s/lodash/lodash.min.js,/dash/lodash.min.js,/ash/lodash.min.js,/lodash/lodash.min.js
Dependency Hierarchy: - :x: **lodash-4.17.11.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsLodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
Publish Date: 2021-02-15
URL: CVE-2021-23337
### CVSS 3 Score Details (7.2)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: High - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-35jh-r3h4-6jhm
Release Date: 2021-02-15
Fix Resolution: lodash - 4.17.21, lodash-es - 4.17.21
CVE-2020-28500
### Vulnerable Library - lodash-4.17.11.min.jsA utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
Path to vulnerable library: /odules/lodash/lodash.min.js,/s/lodash/lodash.min.js,/dash/lodash.min.js,/ash/lodash.min.js,/lodash/lodash.min.js
Dependency Hierarchy: - :x: **lodash-4.17.11.min.js** (Vulnerable Library)
Found in base branch: main
### Vulnerability DetailsLodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Mend Note: After conducting further research, Mend has determined that CVE-2020-28500 only affects environments with versions 4.0.0 to 4.17.20 of Lodash.
Publish Date: 2021-02-15
URL: CVE-2020-28500
### CVSS 3 Score Details (5.3)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: Low
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28500
Release Date: 2021-02-15
Fix Resolution: lodash - 4.17.21