Description
CVE-2020-7774 - Critical Severity Vulnerability
Vulnerable Libraries - y18n-4.0.0.tgz, y18n-3.2.1.tgz
y18n-4.0.0.tgz
the bare-bones internationalization library used by yargs
Library home page: https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz
Path to dependency file: /deps/npm/package.json
Path to vulnerable library: /deps/npm/node_modules/y18n/package.json,/deps/npm/docs/package.json
Dependency Hierarchy:
- gatsby-2.23.20.tgz (Root Library)
- copyfiles-2.3.0.tgz
- yargs-15.4.1.tgz
- ❌ y18n-4.0.0.tgz (Vulnerable Library)
- yargs-15.4.1.tgz
- copyfiles-2.3.0.tgz
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: /deps/npm/package.json
Path to vulnerable library: /deps/npm/node_modules/yargs/node_modules/y18n/package.json
Dependency Hierarchy:
- libnpx-10.2.2.tgz (Root Library)
- yargs-11.1.1.tgz
- ❌ y18n-3.2.1.tgz (Vulnerable Library)
- yargs-11.1.1.tgz
Found in HEAD commit: 00fdb00d5bdbaea4fec4642989374d82cbdb1a3c
Found in base branch: master
Vulnerability Details
The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.
Publish Date: 2020-11-17
URL: CVE-2020-7774
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://www.npmjs.com/advisories/1654
Release Date: 2020-11-17
Fix Resolution (y18n): 4.0.1
Direct dependency fix Resolution (gatsby): 2.23.21-oom-exit-code.13
Fix Resolution (y18n): 4.0.1
Direct dependency fix Resolution (libnpx): 10.2.3
Step up your Open Source Security Game with Mend here