billmcchesney1 / t-vault

Simplified secrets management solution
Apache License 2.0
0 stars 0 forks source link

WS-2017-0107 (High) detected in ws-0.8.1.tgz #335

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

WS-2017-0107 - High Severity Vulnerability

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

Path to dependency file: /tvaultui/package.json

Path to vulnerable library: /tvaultui/node_modules/selenium-webdriver/node_modules/ws/package.json

Dependency Hierarchy: - gulp-protractor-1.0.0.tgz (Root Library) - protractor-2.5.1.tgz - selenium-webdriver-2.47.0.tgz - :x: **ws-0.8.1.tgz** (Vulnerable Library)

Found in base branch: dev

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

Release Date: 2016-09-20

Fix Resolution (ws): 1.1.2

Direct dependency fix Resolution (gulp-protractor): 2.3.0


:rescue_worker_helmet: Automatic Remediation is available for this issue