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-2023-46234 (High) detected in browserify-sign-4.0.4.tgz

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

CVE-2023-46234 - High Severity Vulnerability

Vulnerable Library - browserify-sign-4.0.4.tgz

adds node crypto signing for browsers

Library home page: https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz

Path to dependency file: /Section27-State/random-boxes-starter/package.json

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

Dependency Hierarchy:

  • react-scripts-1.1.4.tgz (Root Library)
    • webpack-3.8.1.tgz
      • node-libs-browser-2.1.0.tgz
        • crypto-browserify-3.12.0.tgz
          • browserify-sign-4.0.4.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

browserify-sign is a package to duplicate the functionality of node's crypto public key functions, much of this is based on Fedor Indutny's work on indutny/tls.js. An upper bound check issue in dsaVerify function allows an attacker to construct signatures that can be successfully verified by any public key, thus leading to a signature forgery attack. All places in this project that involve DSA verification of user-input signatures will be affected by this vulnerability. This issue has been patched in version 4.2.2.

Publish Date: 2023-10-26

URL: CVE-2023-46234

CVSS 3 Score Details (7.5)

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: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-x9w5-v3q2-3rhw

Release Date: 2023-10-26

Fix Resolution (browserify-sign): 4.2.2

Direct dependency fix Resolution (react-scripts): 1.1.5


Step up your Open Source Security Game with Mend here