Every CVE Search/ Get API key

CVE-2018-7158

The `'path'` module in the Node.js 4.x release line contains a potential regular expression...

7.5 HighFix available

CVE-2018-7158 is a high vulnerability (CVSS 7.5) in Node.js, published April 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.39%, the 88th percentile. Fixed in nodejs 8.11.0-r0.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.39%Up 2.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-185
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2018-7158
Weakness
CWE-185
Updated
2026-11-02
EUVDEUVD-2018-18901 No score

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.

Record
EUVD-2018-18901
Updated
2026-11-02
GitHub AdvisoriesGHSA-43w8-q5fx-vj5w 7.5

The `'path'` module in the Node.js 4.x release line contains a potential regular expression...

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.

Record
GHSA-43w8-q5fx-vj5w
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-20, CWE-185
Updated
2026-11-02
OSVALPINE-CVE-2018-7158 7.5

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.

Record
ALPINE-CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2018-7158 7.5

CVE-2018-7158 does not affect BellSoft software

Record
BELL-CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSV 7.5

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.

Record
CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-7158 7.5

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.

Record
DEBIAN-CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-7158 7.5

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.

Record
UBUNTU-CVE-2018-7158
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2019-0277 No score

Updated nodejs packages fix security vulnerabilities

This update provides nodejs v6.17.1 fixing at least the following security issues:

The c-ares function ares_parse_naptr_reply(), which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer (CVE-2017-1000381)

Fix for 'path' module regular expression denial of service (CVE-2018-7158)

Reject spaces in HTTP Content-Length header values (CVE-2018-7159)

Fix for inspector DNS rebinding vulnerability (CVE-2018-7160)

buffer: Fixes Denial of Service vulnerability where calling Buffer.fill() could hang (CVE-2018-7167)

buffer: Fix out-of-bounds (OOB) write in Buffer.write() for UCS-2 encoding (CVE-2018-12115)

Node.js: HTTP request splitting (CVE-2018-12116)

Node.js: Debugger port 5858 listens on any interface by default (CVE-2018-12120)

Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)

Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122)

Node.js: Hostname spoofing in URL parser for javascript protocol (CVE-2018-12123)

Node.js: Slowloris HTTP Denial of Service with keep-alive (CVE-2019-5737)

Node.js: Denial of Service with keep-alive HTTP connections (CVE-2019-5739)

For other fixes in this update, see the referenced release logs.

Record
MGASA-2019-0277
Updated
2026-11-02
OSVSUSE-SU-2018:0952-1 No score

Security update for nodejs4

This update for nodejs4 fixes the following issues:

  • Fix some node-gyp permissions

  • New upstream maintenance 4.9.1:

    • Security fixes:
      • CVE-2018-7158: Fix for 'path' module regular expression denial of service (bsc#1087459)
      • CVE-2018-7159: Reject spaces in HTTP Content-Length header values (bsc#1087453)
    • Upgrade to OpenSSL 1.0.2o
    • deps: reject interior blanks in Content-Length
    • deps: upgrade http-parser to v2.8.0
  • remove any old manpage files in %pre from before update-alternatives were used to manage symlinks to these manpages.

  • Add Recommends and BuildRequire on python2 for npm. node-gyp requires this old version of python for now. This is only needed for binary modules.

  • even on recent codestreams there is no binutils gold on s390 only on s390x

  • Enable CI tests in %check target

Record
SUSE-SU-2018:0952-1
Updated
2026-11-02
OSVSUSE-SU-2018:1183-1 No score

Security update for nodejs6

This update for nodejs6 fixes the following issues:

  • Fix some node-gyp permissions

  • New upstream LTS release 6.14.1:

    • Security fixes:
      • CVE-2018-7160: Fix for inspector DNS rebinding vulnerability (bsc#1087463)
      • CVE-2018-7158: Fix for 'path' module regular expression denial of service (bsc#1087459)
      • CVE-2018-7159: Reject spaces in HTTP Content-Length header values (bsc#1087453)
  • New upstream LTS release 6.13.1:

    • http,tls: better support for IPv6 addresses
    • console: added console.count() and console.clear()
    • crypto:
      • expose ECDH class
      • added cypto.randomFill() and crypto.randomFillSync()
      • warn on invalid authentication tag length
    • deps: upgrade libuv to 1.16.1
    • dgram: added socket.setMulticastInterface()
    • http: add agent.keepSocketAlive and agent.reuseSocket as to allow overridable keep-alive behavior of Agent
    • lib: return this from net.Socket.end()
    • module: add builtinModules api that provides list of all builtin modules in Node
    • net: return this from getConnections()
    • promises: more robust stringification for unhandled rejections
    • repl: improve require() autocompletion
    • src:
      • add openssl-system-ca-path configure option
      • add --use-bundled-ca --use-openssl-ca check
      • add process.ppid
    • tls: accept lookup option for tls.connect()
    • tools,build: a new macOS installer!
    • url: WHATWG URL api support
    • util: add %i and %f formatting specifiers
  • remove any old manpage files in %pre from before update-alternatives were used to manage symlinks to these manpages.

  • Add Recommends and BuildRequire on python2 for npm. node-gyp requires this old version of python for now. This is only needed for binary modules.

  • even on recent codestreams there is no binutils gold on s390 only on s390x

  • New upstream LTS release 6.12.3:

    • v8: profiler-related fixes
    • mostly documentation and test related changes
  • Enable CI tests in %check target

Record
SUSE-SU-2018:1183-1
Updated
2026-11-02
OSVSUSE-SU-2019:14246-1 No score

Security update for Mozilla Firefox

This update contains the Mozilla Firefox ESR 68.2 release.

Mozilla Firefox was updated to ESR 68.2 release:

  • Enterprise: New administrative policies were added. More information and templates are available at the Policy Templates page.

  • Various security fixes: MFSA 2019-33 (bsc#1154738)

    • CVE-2019-15903: Heap overflow in expat library in XML_GetCurrentLineNumber
    • CVE-2019-11757: Use-after-free when creating index updates in IndexedDB
    • CVE-2019-11758: Potentially exploitable crash due to 360 Total Security
    • CVE-2019-11759: Stack buffer overflow in HKDF output
    • CVE-2019-11760: Stack buffer overflow in WebRTC networking
    • CVE-2019-11761: Unintended access to a privileged JSONView object
    • CVE-2019-11762: document.domain-based origin isolation has same-origin- property violation
    • CVE-2019-11763: Incorrect HTML parsing results in XSS bypass technique
    • CVE-2019-11764: Memory safety bugs fixed in Firefox 70 and Firefox ESR 68.2

Other Issues resolved:

  • [bsc#1104841] Newer versions of firefox have a dependency on GLIBCXX_3.4.20
  • [bsc#1074235] MozillaFirefox: background tab crash reports sent inadvertently without user opt-in
  • [bsc#1043008] Firefox hangs randomly when browsing and scrolling
  • [bsc#1025108] Firefox stops loading page until mouse is moved
  • [bsc#905528] Firefox malfunctions due to broken omni.ja archives
Record
SUSE-SU-2019:14246-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nodejs
Alpine:v3.10
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.11
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.12
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.13
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.14
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.15
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.16
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.17
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.18
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.19
before 8.11.0-r0
8.11.0-r0
Show 33 moreShow less
Affected packages
PackageAffectedFixed
nodejs
Alpine:v3.20
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.21
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.22
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.23
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.24
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.8
before 8.11.0-r0
8.11.0-r0
nodejs
Alpine:v3.9
before 8.11.0-r0
8.11.0-r0
nodejs
Debian:12
before 6.0.0~dfsg-1
6.0.0~dfsg-1
nodejs
Debian:13
before 6.0.0~dfsg-1
6.0.0~dfsg-1
nodejs
Debian:14
before 6.0.0~dfsg-1
6.0.0~dfsg-1
nodejs
Mageia:6
before 6.17.1-8.mga6
6.17.1-8.mga6
http-parser
Mageia:6
before 2.9.2-1.mga6
2.9.2-1.mga6
libuv
Mageia:6
before 1.16.1-1.mga6
1.16.1-1.mga6
nodejs4
SUSE:Linux Enterprise Module for Web and Scripting 12
before 4.9.1-15.11.1
4.9.1-15.11.1
nodejs4
SUSE:Enterprise Storage 4
before 4.9.1-15.11.1
4.9.1-15.11.1
nodejs6
SUSE:OpenStack Cloud 7
before 6.14.1-11.12.1
6.14.1-11.12.1
nodejs6
SUSE:Linux Enterprise Module for Web and Scripting 12
before 6.14.1-11.12.1
6.14.1-11.12.1
nodejs6
SUSE:Enterprise Storage 4
before 6.14.1-11.12.1
6.14.1-11.12.1
MozillaFirefox
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68.2.0-78.51.4
68.2.0-78.51.4
MozillaFirefox-branding-SLED
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 68-21.9.8
68-21.9.8
firefox-atk
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.26.1-2.8.4
2.26.1-2.8.4
firefox-cairo
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.15.10-2.13.4
1.15.10-2.13.4
firefox-gdk-pixbuf
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.36.11-2.8.4
2.36.11-2.8.4
firefox-glib2
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 2.54.3-2.14.7
2.54.3-2.14.7
firefox-gtk3
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.10.9-2.15.3
3.10.9-2.15.3
firefox-harfbuzz
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.7.5-2.7.4
1.7.5-2.7.4
firefox-libffi
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.2.1.git259-2.3.3
3.2.1.git259-2.3.3
firefox-libffi-gcc5
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 5.3.1+r233831-14.1
5.3.1+r233831-14.1
firefox-pango
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 1.40.14-2.7.4
1.40.14-2.7.4
mozilla-nspr
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 4.21-29.6.1
4.21-29.6.1
mozilla-nss
SUSE:Linux Enterprise Server 11 SP4-LTSS
before 3.45-38.9.3
3.45-38.9.3
nodejs
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.10.15~dfsg1-40.10.21~dfsg1-10.10.22~dfsg1-20.10.23~dfsg1-10.10.23~dfsg1-2
Show 7 moreShow less
0.10.23~dfsg1-30.10.24~dfsg1-10.10.25~dfsg2-20.10.25~dfsg2-2ubuntu10.10.25~dfsg2-2ubuntu1.20.10.25~dfsg2-2ubuntu1.2+esm10.10.25~dfsg2-2ubuntu1.2+esm2
None known
nodejs
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.10.25~dfsg2-2ubuntu14.2.2~dfsg-14.2.3~dfsg-14.2.4~dfsg-1ubuntu14.2.4~dfsg-2
Show 7 moreShow less
4.2.6~dfsg-1ubuntu14.2.6~dfsg-1ubuntu44.2.6~dfsg-1ubuntu4.14.2.6~dfsg-1ubuntu4.24.2.6~dfsg-1ubuntu4.2+esm14.2.6~dfsg-1ubuntu4.2+esm24.2.6~dfsg-1ubuntu4.2+esm3
None known

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 62 references. The JSON record has them.

MoveEnter Open