CVE-2021-23358 (High) detected in multiple libraries
mend-bolt-for-github opened this issue · comments
CVE-2021-23358 - High Severity Vulnerability
Vulnerable Libraries - underscore-1.4.4.js, underscore-1.4.4.tgz, underscore-1.7.0.tgz
underscore-1.4.4.js
JavaScript's functional programming helper library.
Library home page: https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore.js
Path to dependency file: caite/node_modules/jshint/node_modules/underscore/index.html
Path to vulnerable library: caite/node_modules/jshint/node_modules/underscore/underscore.js
Dependency Hierarchy:
- ❌ underscore-1.4.4.js (Vulnerable Library)
underscore-1.4.4.tgz
JavaScript's functional programming helper library.
Library home page: https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz
Path to dependency file: caite/package.json
Path to vulnerable library: caite/node_modules/jshint/node_modules/underscore/package.json
Dependency Hierarchy:
- grunt-contrib-jshint-0.7.2.tgz (Root Library)
- jshint-2.3.0.tgz
- ❌ underscore-1.4.4.tgz (Vulnerable Library)
- jshint-2.3.0.tgz
underscore-1.7.0.tgz
JavaScript's functional programming helper library.
Library home page: https://registry.npmjs.org/underscore/-/underscore-1.7.0.tgz
Path to dependency file: caite/package.json
Path to vulnerable library: caite/node_modules/underscore/package.json
Dependency Hierarchy:
- grunt-0.4.5.tgz (Root Library)
- js-yaml-2.0.5.tgz
- argparse-0.1.16.tgz
- ❌ underscore-1.7.0.tgz (Vulnerable Library)
- argparse-0.1.16.tgz
- js-yaml-2.0.5.tgz
Found in HEAD commit: cd9951c688404f842b5b42d372e5ac4d387ff367
Found in base branch: master
Vulnerability Details
The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.
Publish Date: 2021-03-29
URL: CVE-2021-23358
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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23358
Release Date: 2021-03-29
Fix Resolution: underscore - 1.12.1,1.13.0-2
Step up your Open Source Security Game with WhiteSource here