CVE-2021-23337 (High) detected in multiple libraries
Opened this issue · 0 comments
CVE-2021-23337 - High Severity Vulnerability
Vulnerable Libraries - lodash-4.17.19.tgz, lodash-4.17.19.js, lodash-4.17.19.min.js
lodash-4.17.19.tgz
Lodash modular utilities.
Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz
Path to dependency file: /wp-content/themes/twentynineteen/package.json
Path to vulnerable library: /wp-content/themes/twentynineteen/node_modules/lodash/package.json,/wp-content/themes/twentytwenty/node_modules/lodash/package.json
Dependency Hierarchy:
- scripts-5.1.0.tgz (Root Library)
- ❌ lodash-4.17.19.tgz (Vulnerable Library)
lodash-4.17.19.js
A utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.19/lodash.js
Path to vulnerable library: /wp-includes/js/dist/vendor/lodash.js
Dependency Hierarchy:
- ❌ lodash-4.17.19.js (Vulnerable Library)
lodash-4.17.19.min.js
A utility library delivering consistency, customization, performance, & extras.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.19/lodash.min.js
Path to vulnerable library: /wp-includes/js/dist/vendor/lodash.min.js
Dependency Hierarchy:
- ❌ lodash-4.17.19.min.js (Vulnerable Library)
Found in base branch: main
Vulnerability Details
Lodash 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
Suggested Fix
Type: Upgrade version
Origin: GHSA-35jh-r3h4-6jhm
Release Date: 2021-02-15
Fix Resolution (lodash): 4.17.21
Direct dependency fix Resolution (@wordpress/scripts): 6.0.0
Step up your Open Source Security Game with Mend here