CVE-2018-25077: Mel spintax Mel-spintax Has Inefficient Regular Expression Vulnerability

MODERATE
Advisory Identifier: GHSA-qjm7-55vv-3c5f
CVSS 4.3
CWE-1333
Published
Advisory Summary

CVE-2018-25077 is a MODERATE (CVSS 4.3) mel-spintax has inefficient regular expression vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Mel spintax libraries in the npm ecosystem. The issue involves mel-spintax has inefficient regular expression complexity. Remediation is available by upgrading affected packages to version 1.0.3.

CVE-2018-25077 at a Glance

CVE Identifier CVE-2018-25077
GHSA Identifier GHSA-qjm7-55vv-3c5f
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-1333: Inefficient Regular Expression Complexity
Affected Product Mel spintax
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2018-25077

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

mel-spintax fixed: 1.0.3
npm install mel-spintax@1.0.3
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 mel-spintax

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2018-25077, inspect your project dependencies using npm:

npm ls mel-spintax

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

Note: The npm ls mel-spintax 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 CWE-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Mel spintax, 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

A vulnerability was found in melnaron mel-spintax. It has been rated as problematic. Affected by this issue is some unknown functionality of the file `lib/spintax.js`. The manipulation of the argument text leads to inefficient regular expression complexity. The name of the patch is 37767617846e27b87b63004e30216e8f919637d3. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-218456.

CVE-2018-25077 Affected Mel spintax Versions

1 component(s)
Fixed Versions:
1.0.3
Product / Package Ecosystem Affected Versions Fixed Version
mel-spintax
npm
< 1.0.3
1.0.3

References

Frequently Asked Questions

What is CVE-2018-25077?
CVE-2018-25077 is a security vulnerability in Mel spintax involving mel-spintax has Inefficient Regular Expression Complexity under CWE-1333: Inefficient Regular Expression Complexity.
Which Mel spintax versions are affected?
Affected versions include releases prior to 1.0.3 across affected packages: mel-spintax.
What version fixes CVE-2018-25077?
Upgrading to 1.0.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mel-spintax affected?
Yes, mel-spintax is affected in releases prior to 1.0.3. Upgrade your dependency to 1.0.3 or later.
What is the CVSS score of CVE-2018-25077?
CVE-2018-25077 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2018-25077?
CVE-2018-25077 is classified under CWE-1333: Inefficient Regular Expression Complexity (The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.).
How can I check npm dependencies for CVE-2018-25077?
Run the dependency tree command: 'npm ls mel-spintax'. 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-qjm7-55vv-3c5f",
  "modified" : "2026-02-17T22:04:14Z",
  "published" : "2023-01-18T03:31:17Z",
  "aliases" : [ "CVE-2018-25077" ],
  "summary" : "mel-spintax has Inefficient Regular Expression Complexity",
  "details" : "A vulnerability was found in melnaron mel-spintax. It has been rated as problematic. Affected by this issue is some unknown functionality of the file `lib/spintax.js`. The manipulation of the argument text leads to inefficient regular expression complexity. The name of the patch is 37767617846e27b87b63004e30216e8f919637d3. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-218456.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "mel-spintax"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-25077"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/melnaron/mel-spintax/commit/37767617846e27b87b63004e30216e8f919637d3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/melnaron/mel-spintax"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.218456"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1333" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-20T23:35:16Z",
    "nvd_published_at" : "2023-01-18T01:15:00Z"
  }
}