Information Exposure Affecting webpack-dev-server package, versions <3.1.11


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.2% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-WEBPACKDEVSERVER-72405
  • published 26 Sep 2018
  • disclosed 24 Jul 2018
  • credit chromium1337

How to fix?

Upgrade webpack-dev-server to version 3.1.11 or higher.

Overview

webpack-dev-server Uses webpack with a development server that provides live reloading. It should be used for development only.

Affected versions of this package are vulnerable to Information Exposure. The origin of requests is not checked by the WebSocket server, which is used for HMR. A malicious user could receive the HMR message sent by the WebSocket server via a ws://127.0.0.1:8080/ connection from any origin.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None