Skip to content
Heist/ feed
Unrated

CVE-2018-7158

Type: advisorySource: Official CVE List1 source record

The `'path'` module in the Node.js 4.x release line contains a potential regular expression denial of service (ReDoS) vector. The code in question was replaced in Node.js 6.x and later so this vulnerability only impacts all versions of Node.js 4.x. The regular expression, `splitPathRe`, used within the `'path'` module for the various path parsing functions, including `path.dirname()`, `path.extname()` and `path.parse()` was structured in such a way as to allow an attacker to craft a string, that when passed through one of these functions, could take a significant amount of time to evaluate, potentially leading to a full denial of service.

Announced Group revision 1
Original source ↗

CVE-2018-7158

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2018-7158

Node.js

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "The Node.js Project",
    "product": "Node.js",
    "versions": [
      {
        "status": "affected",
        "version": "4.x"
      }
    ]
  }
]
Related CVEs
CVE-2018-7158

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#15934 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement