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-2021-3918 (Critical) detected in json-schema-0.2.3.tgz

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

CVE-2021-3918 - Critical Severity Vulnerability

Vulnerable Library - json-schema-0.2.3.tgz

JSON Schema validation and specifications

Library home page: https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.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/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/json-schema/package.json

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • jest-20.0.4.tgz
      • jest-cli-20.0.4.tgz
        • jest-environment-jsdom-20.0.3.tgz
          • jsdom-9.12.0.tgz
            • request-2.87.0.tgz
              • http-signature-1.2.0.tgz
                • jsprim-1.4.1.tgz
                  • json-schema-0.2.3.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Publish Date: 2021-11-13

URL: CVE-2021-3918

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://nvd.nist.gov/vuln/detail/CVE-2021-3918

Release Date: 2021-11-13

Fix Resolution (json-schema): 0.4.0

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here