rvvergara / advanced-web-developer-bootcamp-notes-examples-and-exercises

Examples and Exercises compiled. From the awesome Advanced Web Developer Bootcamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2020-7774 (Critical) detected in y18n-3.2.1.tgz

mend-bolt-for-github opened this issue · comments

CVE-2020-7774 - Critical Severity Vulnerability

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: /Section33-In-Depth-Redux-Code-Walkthrough/react-redux-todos/package.json

Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/y18n/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • webpack-3.8.1.tgz
      • yargs-8.0.2.tgz
        • y18n-3.2.1.tgz (Vulnerable Library)

Found in HEAD commit: d80f181a2f4dd1169fbef38813309ffdd4ad82d4

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1654

Release Date: 2020-11-17

Fix Resolution (y18n): 3.2.2

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here