Denial of Service vulnerability was found in ws npm package 0.2.6 through 1.1.4 and 2.0.0 through 3.3.0. ws can crash when a specially crafted Sec-WebSocket-Extensions header containing Object.prototype property names as extension or parameter names are sent.
WS-2017-0421 - High Severity Vulnerability
Vulnerable Library - ws-2.3.1.tgz
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
Library home page: https://registry.npmjs.org/ws/-/ws-2.3.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/ws/package.json
Dependency Hierarchy: - webpack-bundle-analyzer-2.9.0.tgz (Root Library) - :x: **ws-2.3.1.tgz** (Vulnerable Library)
Found in HEAD commit: 3c5fb7d3f2932ae2023353faafd51bf99b953a5f
Found in base branch: master
Vulnerability Details
Denial of Service vulnerability was found in ws npm package 0.2.6 through 1.1.4 and 2.0.0 through 3.3.0. ws can crash when a specially crafted Sec-WebSocket-Extensions header containing Object.prototype property names as extension or parameter names are sent.
Publish Date: 2017-11-08
URL: WS-2017-0421
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: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-5v72-xg48-5rpm
Release Date: 2017-11-08
Fix Resolution (ws): 3.3.1
Direct dependency fix Resolution (webpack-bundle-analyzer): 2.9.1
Step up your Open Source Security Game with Mend here