Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS-2017-0107 (High) detected in ws-0.4.32.tgz #1836

Open
mend-bolt-for-github bot opened this issue Mar 18, 2022 · 1 comment
Open

WS-2017-0107 (High) detected in ws-0.4.32.tgz #1836

mend-bolt-for-github bot opened this issue Mar 18, 2022 · 1 comment

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 18, 2022

WS-2017-0107 - High Severity Vulnerability

Vulnerable Library - ws-0.4.32.tgz

simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455

Library home page: https://registry.npmjs.org/ws/-/ws-0.4.32.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/node-inspector/node_modules/ws/package.json

Dependency Hierarchy:

  • node-debug-0.1.0.tgz (Root Library)
    • node-inspector-0.6.2.tgz
      • socket.io-0.9.19.tgz
        • socket.io-client-0.9.16.tgz
          • ws-0.4.32.tgz (Vulnerable Library)

Found in HEAD commit: c0b44037b1a926140bd779553e9d04b0ff48d898

Vulnerability Details

websockets uses Math.random function to generate masking key. This function is not random enough allowing an attacker to easily guess the key. Having the key an attacker can read the payload causing potential information disclosure.

Publish Date: 2016-09-20

URL: WS-2017-0107

CVSS 3 Score Details (7.4)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Adjacent
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: websockets/ws#832

Release Date: 2016-09-20

Fix Resolution: 2.0.0-beta.0


Step up your Open Source Security Game with WhiteSource here

@github-actions
Copy link

👋 Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants