Skip to content

WS-2017-0107 (High) detected in ws-1.1.1.tgz #65

@mend-bolt-for-github

Description

@mend-bolt-for-github

WS-2017-0107 - High Severity Vulnerability

Vulnerable Library - ws-1.1.1.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-1.1.1.tgz

Path to dependency file: /DashBoard/bower_components/es6-promise/package.json

Path to vulnerable library: DashBoard/bower_components/es6-promise/node_modules/ws/package.json

Dependency Hierarchy:

  • ember-cli-2.12.2.tgz (Root Library)
    • testem-1.18.5.tgz
      • socket.io-1.6.0.tgz
        • engine.io-1.8.0.tgz
          • ws-1.1.1.tgz (Vulnerable Library)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions