-
-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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: /src/main/resources/static/components/angular-ui/package.json
Path to vulnerable library: /src/main/resources/static/components/angular-ui/node_modules/ws/package.json,/src/main/resources/static/components/angular-ui-bootstrap/node_modules/ws/package.json
Dependency Hierarchy:
- grunt-karma-0.4.6.tgz (Root Library)
- karma-0.8.8.tgz
- socket.io-0.9.19.tgz
- socket.io-client-0.9.16.tgz
- ❌ ws-0.4.32.tgz (Vulnerable Library)
- socket.io-client-0.9.16.tgz
- socket.io-0.9.19.tgz
- karma-0.8.8.tgz
Found in HEAD commit: f98a7663cd4534d7282b786a5f475d4e4b48c1c7
Found in base branch: master
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
Suggested Fix
Type: Upgrade version
Origin: websockets/ws#832
Release Date: 2016-09-20
Fix Resolution (ws): 1.1.2
Direct dependency fix Resolution (grunt-karma): 0.5.1
Step up your Open Source Security Game with WhiteSource here