-
Notifications
You must be signed in to change notification settings - Fork 0
Description
CVE-2018-14732 - High Severity Vulnerability
Vulnerable Library - webpack-dev-server-2.4.2.tgz
Serves a webpack app. Updates the browser on changes.
Library home page: https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.4.2.tgz
Path to dependency file: cloud-pipeline/data-sharing-service/client/package.json
Path to vulnerable library: cloud-pipeline/data-sharing-service/client/node_modules/webpack-dev-server/package.json
Dependency Hierarchy:
- ❌ webpack-dev-server-2.4.2.tgz (Vulnerable Library)
Found in HEAD commit: 1db3170e0bd699acd5fec6e3fcebfa68fe86edcf
Found in base branch: develop
Vulnerability Details
An issue was discovered in lib/Server.js in webpack-dev-server before 3.1.6. Attackers are able to steal developer's code because the origin of requests is not checked by the WebSocket server, which is used for HMR (Hot Module Replacement). Anyone can receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.
Publish Date: 2018-09-21
URL: CVE-2018-14732
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: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-14732
Release Date: 2018-09-21
Fix Resolution: 3.1.6
⛑️ Automatic Remediation is available for this issue