PT-2018-17919 · Node.Js+2 · Node.Js+2

James Davis

·

Publicado

2016-07-15

·

Atualizado

2022-08-29

·

CVE-2018-7158

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Node.js versions 4.x
Description The issue concerns a potential regular expression denial of service (ReDoS) vector in the 'path' module. This module is used for various path parsing functions, including path.dirname(), path.extname(), and path.parse(). An attacker can 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.
Recommendations For Node.js versions 4.x, consider upgrading to Node.js 6.x or later, as the code in question was replaced in these versions, resolving the issue. As a temporary workaround, consider restricting the use of the 'path' module or the specific functions path.dirname(), path.extname(), and path.parse() to minimize the risk of exploitation.

Exploit

Correção

DoS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2016-1759
CVE-2018-7158
MGASA-2019-0277
SUSE-SU-2018:0952-1
SUSE-SU-2018:1183-1
SUSE-SU-2018_0952-1
SUSE-SU-2018_1183-1
SUSE-SU-2019:14246-1
SUSE-SU-2019_14246-1

Produtos afetados

Alt Linux
Node.Js
Suse