Vulnerable Library - yargs-4.8.1.tgz
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json,/script/vsts/package.json
Vulnerabilities
| Vulnerability |
Severity |
CVSS |
Dependency |
Type |
Fixed in (yargs version) |
Remediation Possible** |
Reachability |
| CVE-2020-7774 |
High |
7.3 |
y18n-3.2.1.tgz |
Transitive |
5.0.0-candidate |
✅ |
|
| CVE-2020-7608 |
Medium |
5.3 |
yargs-parser-2.4.1.tgz |
Transitive |
7.0.0 |
✅ |
|
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2020-7774
Vulnerable Library - y18n-3.2.1.tgz
the bare-bones internationalization library used by yargs
Library home page: https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json
Dependency Hierarchy:
- yargs-4.8.1.tgz (Root Library)
- ❌ y18n-3.2.1.tgz (Vulnerable Library)
Found in base branch: electron-upgrade
Vulnerability Details
The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.
Mend Note:
Publish Date: 2020-11-17
URL: CVE-2020-7774
CVSS 3 Score Details (7.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-c4w7-xm78-47vh
Release Date: 2020-11-17
Fix Resolution (y18n): 3.2.2
Direct dependency fix Resolution (yargs): 5.0.0-candidate
⛑️ Automatic Remediation will be attempted for this issue.
CVE-2020-7608
Vulnerable Library - yargs-parser-2.4.1.tgz
the mighty option parser used by yargs
Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json,/script/vsts/package.json
Dependency Hierarchy:
- yargs-4.8.1.tgz (Root Library)
- ❌ yargs-parser-2.4.1.tgz (Vulnerable Library)
Found in base branch: electron-upgrade
Vulnerability Details
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "proto" payload.
Mend Note:
Publish Date: 2020-03-16
URL: CVE-2020-7608
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-p9pc-299p-vxgp
Release Date: 2020-03-16
Fix Resolution (yargs-parser): 5.0.1
Direct dependency fix Resolution (yargs): 7.0.0
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json,/script/vsts/package.json
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Library - y18n-3.2.1.tgz
the bare-bones internationalization library used by yargs
Library home page: https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json
Dependency Hierarchy:
Found in base branch: electron-upgrade
Vulnerability Details
The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.
Mend Note:
Publish Date: 2020-11-17
URL: CVE-2020-7774
CVSS 3 Score Details (7.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: GHSA-c4w7-xm78-47vh
Release Date: 2020-11-17
Fix Resolution (y18n): 3.2.2
Direct dependency fix Resolution (yargs): 5.0.0-candidate
⛑️ Automatic Remediation will be attempted for this issue.
Vulnerable Library - yargs-parser-2.4.1.tgz
the mighty option parser used by yargs
Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz
Path to dependency file: /script/package.json
Path to vulnerable library: /script/package.json,/script/vsts/package.json
Dependency Hierarchy:
Found in base branch: electron-upgrade
Vulnerability Details
yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "proto" payload.
Mend Note:
Publish Date: 2020-03-16
URL: CVE-2020-7608
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: GHSA-p9pc-299p-vxgp
Release Date: 2020-03-16
Fix Resolution (yargs-parser): 5.0.1
Direct dependency fix Resolution (yargs): 7.0.0
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.