GHSA-x4rf-4mqf-cm8w: Ecstatic Open Redirect Vulnerability

MODERATE
Published
Advisory Summary

GHSA-x4rf-4mqf-cm8w is a MODERATE open redirect vulnerability (General Security Weakness) affecting Ecstatic libraries in the npm ecosystem. The issue involves open redirect in ecstatic. Remediation is available by upgrading affected packages to version 2.2.2, 3.3.2, 4.1.2.

GHSA-x4rf-4mqf-cm8w at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-x4rf-4mqf-cm8w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ecstatic
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-x4rf-4mqf-cm8w

To remediate this vulnerability, upgrade all affected Ecstatic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ecstatic fixed: 2.2.2
npm install ecstatic@2.2.2
ecstatic fixed: 3.3.2
npm install ecstatic@3.3.2
ecstatic fixed: 4.1.2
npm install ecstatic@4.1.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls ecstatic

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-x4rf-4mqf-cm8w, inspect your project dependencies using npm:

npm ls ecstatic

Analyze the terminal output to locate any version of Ecstatic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.2), your application is affected.

Note: The npm ls ecstatic command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Ecstatic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Withdrawn: Duplicate of GHSA-9q64-mpxx-87fg

GHSA-x4rf-4mqf-cm8w Affected Ecstatic Versions

3 component(s)
Fixed Versions:
2.2.23.3.24.1.2
Product / Package Ecosystem Affected Versions Fixed Version
ecstatic
npm
< 2.2.2
2.2.2
ecstatic
npm
≥ 3.0.0
< 3.3.2
3.3.2
ecstatic
npm
≥ 4.0.0
< 4.1.2
4.1.2

References

Frequently Asked Questions

What is GHSA-x4rf-4mqf-cm8w?
GHSA-x4rf-4mqf-cm8w is a security vulnerability in Ecstatic involving Open Redirect in ecstatic under General Security Weakness.
Which Ecstatic versions are affected?
Affected versions include releases prior to 2.2.2, 3.3.2, 4.1.2 across affected packages: ecstatic.
What version fixes GHSA-x4rf-4mqf-cm8w?
Upgrading to 2.2.2, 3.3.2, 4.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ecstatic affected?
Yes, ecstatic is affected in releases prior to 2.2.2, 3.3.2, 4.1.2. Upgrade your dependency to 2.2.2, 3.3.2, 4.1.2 or later.
What CWE is associated with GHSA-x4rf-4mqf-cm8w?
GHSA-x4rf-4mqf-cm8w is classified under General Security Weakness.
How can I check npm dependencies for GHSA-x4rf-4mqf-cm8w?
Run the dependency tree command: 'npm ls ecstatic'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x4rf-4mqf-cm8w",
  "modified" : "2020-08-19T22:44:23Z",
  "published" : "2020-08-19T22:44:22Z",
  "withdrawn" : "2020-08-19T22:44:22Z",
  "aliases" : [ ],
  "summary" : "Open Redirect in ecstatic",
  "details" : "Withdrawn: Duplicate of GHSA-9q64-mpxx-87fg",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "ecstatic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "ecstatic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "ecstatic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jfhbrook/node-ecstatic/issues/259"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jfhbrook/node-ecstatic/commit/be6fc25a826f190b67f4d16158f9d67899e38ee4"
  }, {
    "type" : "WEB",
    "url" : "https://www.npmjs.com/advisories/830/versions"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2019-06-07T21:09:41Z",
    "nvd_published_at" : null
  }
}