CVE-2018-7158
CVE-2018-7158
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 3.4% · Fix available
- Published
- Updated
Affected products and versions
node.js
- Versions
- 4.x: Affected
No fix published
nodejs Debian:12
- Affected ranges
- ECOSYSTEM: < 6.0.0~dfsg-1
Update to 6.0.0~dfsg-1
nodejs Debian:13
- Affected ranges
- ECOSYSTEM: < 6.0.0~dfsg-1
Update to 6.0.0~dfsg-1
nodejs Debian:14
- Affected ranges
- ECOSYSTEM: < 6.0.0~dfsg-1
Update to 6.0.0~dfsg-1
nodejs Ubuntu:Pro:14.04:LTS
- Versions
- 0.10.15~dfsg1-4
- 0.10.21~dfsg1-1
- 0.10.22~dfsg1-2
- 0.10.23~dfsg1-1
- 0.10.23~dfsg1-2
- 0.10.23~dfsg1-3
- 0.10.24~dfsg1-1
- 0.10.25~dfsg2-2
- 0.10.25~dfsg2-2ubuntu1
- 0.10.25~dfsg2-2ubuntu1.2
- 0.10.25~dfsg2-2ubuntu1.2+esm1
- 0.10.25~dfsg2-2ubuntu1.2+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
nodejs Ubuntu:Pro:16.04:LTS
- Versions
- 0.10.25~dfsg2-2ubuntu1
- 4.2.2~dfsg-1
- 4.2.3~dfsg-1
- 4.2.4~dfsg-1ubuntu1
- 4.2.4~dfsg-2
- 4.2.6~dfsg-1ubuntu1
- 4.2.6~dfsg-1ubuntu4
- 4.2.6~dfsg-1ubuntu4.1
- 4.2.6~dfsg-1ubuntu4.2
- 4.2.6~dfsg-1ubuntu4.2+esm1
- 4.2.6~dfsg-1ubuntu4.2+esm2
- 4.2.6~dfsg-1ubuntu4.2+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published