-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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: /package.json
Path to vulnerable library: /node_modules/ws/package.json
Found in HEAD commit: 8d2ce0ee47ab358fa088ef24459333fc9b8efeaa
Vulnerabilities
CVE | Severity | Dependency | Type | Fixed in (ws version) | Remediation Possible** | |
---|---|---|---|---|---|---|
WS-2017-0421 | 7.5 | ws-1.1.1.tgz | Direct | 3.3.1 | ✅ | |
WS-2017-0107 | 7.4 | ws-1.1.1.tgz | Direct | 1.1.2 | ✅ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
WS-2017-0421
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: /package.json
Path to vulnerable library: /node_modules/ws/package.json
Dependency Hierarchy:
- ❌ ws-1.1.1.tgz (Vulnerable Library)
Found in HEAD commit: 8d2ce0ee47ab358fa088ef24459333fc9b8efeaa
Found in base branch: main
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
Suggested Fix
Type: Upgrade version
Origin: GHSA-5v72-xg48-5rpm
Release Date: 2017-11-08
Fix Resolution: 3.3.1
⛑️ Automatic Remediation will be attempted for this issue.
WS-2017-0107
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: /package.json
Path to vulnerable library: /node_modules/ws/package.json
Dependency Hierarchy:
- ❌ ws-1.1.1.tgz (Vulnerable Library)
Found in HEAD commit: 8d2ce0ee47ab358fa088ef24459333fc9b8efeaa
Found in base branch: main
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
Release Date: 2016-09-20
Fix Resolution: 1.1.2
⛑️ Automatic Remediation will be attempted for this issue.
⛑️Automatic Remediation will be attempted for this issue.