Open Redirect Affecting ecstatic package, versions <2.2.2 >=3.0.0 <3.3.2 >=4.0.0 <4.1.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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-ECSTATIC-174543
  • published 30 Apr 2019
  • disclosed 23 Apr 2019
  • credit Mario Casola

Introduced: 23 Apr 2019

CVE NOT AVAILABLE CWE-601 Open this link in a new tab

How to fix?

Upgrade ecstatic to version 2.2.2, 3.3.2, 4.1.2 or higher.

Overview

ecstatic is a simple static file server middleware. Use it with a raw http server, express/connect or on the CLI.

Affected versions of this package are vulnerable to Open Redirect. The package failed to validate redirects, allowing attackers to craft requests that result in an HTTP 301 redirect to any other domains.

CVSS Scores

version 3.1
Expand this section

Snyk

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