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-2022-0639 (Medium) detected in url-parse-1.4.1.tgz

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

CVE-2022-0639 - Medium Severity Vulnerability

Vulnerable Library - url-parse-1.4.1.tgz

Small footprint URL parser that works seamlessly across Node.js and browser environments

Library home page: https://registry.npmjs.org/url-parse/-/url-parse-1.4.1.tgz

Path to dependency file: /Section26-Create-React-App-and-Props/recipe-props-starter/package.json

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

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • react-dev-utils-5.0.1.tgz
      • sockjs-client-1.1.4.tgz
        • url-parse-1.4.1.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.

Publish Date: 2022-02-17

URL: CVE-2022-0639

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0639

Release Date: 2022-02-17

Fix Resolution (url-parse): 1.5.7

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here