Upstream information

CVE-2018-7158 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 5.9
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Access Vector Network Network
Access Complexity Low High
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High High
SUSE Bugzilla entry: 1087459 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 4
  • nodejs4 >= 4.9.1-15.11.1
  • nodejs6 >= 6.14.1-11.12.1
Patchnames:
SUSE-Storage-4-2018-649
SUSE-Storage-4-2018-825
SUSE Linux Enterprise Module for Web Scripting 12
  • nodejs4 >= 4.9.1-15.11.1
  • nodejs4-devel >= 4.9.1-15.11.1
  • nodejs4-docs >= 4.9.1-15.11.1
  • nodejs6 >= 6.14.1-11.12.1
  • nodejs6-devel >= 6.14.1-11.12.1
  • nodejs6-docs >= 6.14.1-11.12.1
  • npm4 >= 4.9.1-15.11.1
  • npm6 >= 6.14.1-11.12.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-12-2018-649
SUSE-SLE-Module-Web-Scripting-12-2018-825
SUSE Linux Enterprise Module for Web Scripting 15
  • nodejs8 >= 8.11.1-1.19
  • nodejs8-devel >= 8.11.1-1.19
  • nodejs8-docs >= 8.11.1-1.19
  • npm8 >= 8.11.1-1.19
Patchnames:
SUSE Linux Enterprise Module for Web Scripting 15 GA nodejs8
SUSE OpenStack Cloud 7
  • nodejs6 >= 6.14.1-11.12.1
Patchnames:
SUSE-OpenStack-Cloud-7-2018-825
openSUSE Leap 42.3
  • nodejs4 >= 4.9.1-14.1
  • nodejs4-debuginfo >= 4.9.1-14.1
  • nodejs4-debugsource >= 4.9.1-14.1
  • nodejs4-devel >= 4.9.1-14.1
  • nodejs4-docs >= 4.9.1-14.1
  • nodejs6 >= 6.14.1-9.2
  • nodejs6-debuginfo >= 6.14.1-9.2
  • nodejs6-debugsource >= 6.14.1-9.2
  • nodejs6-devel >= 6.14.1-9.2
  • nodejs6-docs >= 6.14.1-9.2
  • npm4 >= 4.9.1-14.1
  • npm6 >= 6.14.1-9.2
Patchnames:
openSUSE-2018-375
openSUSE-2018-444


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs4 Released
SUSE Linux Enterprise Module for Web and Scripting 12 nodejs6 Released
SUSE Openstack Cloud 7 nodejs6 Released
SUSE Storage 4 nodejs4 Released
SUSE Storage 4 nodejs6 Released
SUSE Studio Onsite 1.3 nodejs Not affected