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.
CVE-2020-28500 - Medium Severity Vulnerability
Vulnerable Libraries - lodash-4.17.13.tgz, lodash-4.17.4.tgz, lodash-4.17.11.tgz, lodash-4.12.0.tgz
lodash-4.17.13.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.13.tgz
Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/package.json
Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/lodash/package.json
Dependency Hierarchy: - :x: **lodash-4.17.13.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: /staging/src/k8s.io/kubectl/docs/book/package.json
Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/gitbook-cli/node_modules/lodash/package.json
Dependency Hierarchy: - gitbook-cli-2.3.2.tgz (Root Library) - :x: **lodash-4.17.4.tgz** (Vulnerable Library)
lodash-4.17.11.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz
Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/package.json
Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/gitbook-plugin-mermaid/node_modules/lodash/package.json
Dependency Hierarchy: - gitbook-plugin-mermaid-0.0.9.tgz (Root Library) - phantomjs-1.9.20.tgz - request-2.67.0.tgz - form-data-1.0.1.tgz - async-2.6.2.tgz - :x: **lodash-4.17.11.tgz** (Vulnerable Library)
lodash-4.12.0.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.12.0.tgz
Path to dependency file: /staging/src/k8s.io/kubectl/docs/book/package.json
Path to vulnerable library: /staging/src/k8s.io/kubectl/docs/book/node_modules/gitbook-plugin-theme-api/node_modules/lodash/package.json
Dependency Hierarchy: - gitbook-plugin-theme-api-1.1.2.tgz (Root Library) - :x: **lodash-4.12.0.tgz** (Vulnerable Library)
Found in HEAD commit: 6e30df8c07a51f900077867824d3807dffb18045
Found in base branch: master
Vulnerability Details
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.
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 Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28500
Release Date: 2021-02-15
Fix Resolution: 4.17.21
Step up your Open Source Security Game with Mend here