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-7788 (Critical) detected in ini-1.3.5.tgz

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

CVE-2020-7788 - Critical Severity Vulnerability

Vulnerable Library - ini-1.3.5.tgz

An ini encoder/decoder for node

Library home page: https://registry.npmjs.org/ini/-/ini-1.3.5.tgz

Path to dependency file: /Section27-State/pass-state-to-props-demo/package.json

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

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • fsevents-1.2.4.tgz
      • node-pre-gyp-0.10.0.tgz
        • rc-1.2.7.tgz
          • ini-1.3.5.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

This affects the package ini before 1.3.6. If an attacker submits a malicious INI file to an application that parses it with ini.parse, they will pollute the prototype on the application. This can be exploited further depending on the context.

Publish Date: 2020-12-11

URL: CVE-2020-7788

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7788

Release Date: 2020-12-11

Fix Resolution (ini): 1.3.6

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here