-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Vulnerable Library - grunt-browserify-4.0.1.tgz
Path to dependency file: /justapis-javascript-sdk/package.json
Path to vulnerable library: /node_modules/grunt-browserify/node_modules/concat-stream/package.json
Vulnerabilities
| CVE | Severity | Dependency | Type | Fixed in (grunt-browserify version) | Remediation Available | |
|---|---|---|---|---|---|---|
| CVE-2016-10541 | 9.8 | shell-quote-0.0.1.tgz | Transitive | 5.0.0 | ✅ | |
| CVE-2021-42740 | 9.8 | shell-quote-0.0.1.tgz | Transitive | 5.0.0 | ✅ | |
| WS-2018-0075 | 5.1 | concat-stream-1.4.11.tgz | Transitive | 5.0.0 | ✅ |
Details
CVE-2016-10541
Vulnerable Library - shell-quote-0.0.1.tgz
quote and parse shell commands
Library home page: https://registry.npmjs.org/shell-quote/-/shell-quote-0.0.1.tgz
Path to dependency file: /justapis-javascript-sdk/package.json
Path to vulnerable library: /node_modules/grunt-browserify/node_modules/shell-quote/package.json
Dependency Hierarchy:
- grunt-browserify-4.0.1.tgz (Root Library)
- browserify-11.2.0.tgz
- ❌ shell-quote-0.0.1.tgz (Vulnerable Library)
- browserify-11.2.0.tgz
Vulnerability Details
The npm module "shell-quote" 1.6.0 and earlier cannot correctly escape ">" and "<" operator used for redirection in shell. Applications that depend on shell-quote may also be vulnerable. A malicious user could perform code injection.
Publish Date: 2018-05-31
URL: CVE-2016-10541
CVSS 3 Score Details (9.8)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- 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-2016-10541
Release Date: 2018-05-31
Fix Resolution (shell-quote): 1.6.1
Direct dependency fix Resolution (grunt-browserify): 5.0.0
⛑️ Automatic Remediation is available for this issue
CVE-2021-42740
Vulnerable Library - shell-quote-0.0.1.tgz
quote and parse shell commands
Library home page: https://registry.npmjs.org/shell-quote/-/shell-quote-0.0.1.tgz
Path to dependency file: /justapis-javascript-sdk/package.json
Path to vulnerable library: /node_modules/grunt-browserify/node_modules/shell-quote/package.json
Dependency Hierarchy:
- grunt-browserify-4.0.1.tgz (Root Library)
- browserify-11.2.0.tgz
- ❌ shell-quote-0.0.1.tgz (Vulnerable Library)
- browserify-11.2.0.tgz
Vulnerability Details
The shell-quote package before 1.7.3 for Node.js allows command injection. An attacker can inject unescaped shell metacharacters through a regex designed to support Windows drive letters. If the output of this package is passed to a real shell as a quoted argument to a command with exec(), an attacker can inject arbitrary commands. This is because the Windows drive letter regex character class is {A-z] instead of the correct {A-Za-z]. Several shell metacharacters exist in the space between capital letter Z and lower case letter a, such as the backtick character.
Publish Date: 2021-10-21
URL: CVE-2021-42740
CVSS 3 Score Details (9.8)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- 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-42740
Release Date: 2021-10-21
Fix Resolution (shell-quote): 1.7.3
Direct dependency fix Resolution (grunt-browserify): 5.0.0
⛑️ Automatic Remediation is available for this issue
WS-2018-0075
Vulnerable Library - concat-stream-1.4.11.tgz
writable stream that concatenates strings or binary data and calls a callback with the result
Library home page: https://registry.npmjs.org/concat-stream/-/concat-stream-1.4.11.tgz
Path to dependency file: /justapis-javascript-sdk/package.json
Path to vulnerable library: /node_modules/grunt-browserify/node_modules/concat-stream/package.json
Dependency Hierarchy:
- grunt-browserify-4.0.1.tgz (Root Library)
- browserify-11.2.0.tgz
- ❌ concat-stream-1.4.11.tgz (Vulnerable Library)
- browserify-11.2.0.tgz
Vulnerability Details
Versions of concat-stream before 1.5.2 are vulnerable to memory exposure if userp provided input is passed into write()
Versions <1.3.0 are not affected due to not using unguarded Buffer constructor.
Publish Date: 2018-04-25
URL: WS-2018-0075
CVSS 3 Score Details (5.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://nodesecurity.io/advisories/597
Release Date: 2018-01-27
Fix Resolution (concat-stream): 1.5.2
Direct dependency fix Resolution (grunt-browserify): 5.0.0
⛑️ Automatic Remediation is available for this issue
⛑️ Automatic Remediation is available for this issue.