HIGH SEVERITY

CVE-2018-7158

Node.Js vulnerability

CVSS
7.5
EPSS
3.4%
EPSS pct
88th
Exploited
No known
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.
Affected vendor
Nodejs
Affected product
Node.Js
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness type (CWE)
Published
2018-05-17

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to availability.

Its EPSS score of 3.4% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 88% of all scored CVEs.

Check your external exposure to CVE-2018-7158

  • Confirm whether Nodejs Node.Js is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2018-7158.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2018-7158

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2018-7158 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2018-7158?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2018-7158.

Start free scan

No credit card. Agentless.