Node.js Module node-tar < 6.2.1 DoS

medium Nessus Plugin ID 192685

Synopsis

A module in the Node.js JavaScript run-time environment is affected by a denial of service vulnerability.

Description

In the nodejs module node-tar prior to version 6.2.1, there is no validation of the number of folders created while unpacking a file. As a result, an attacker can use a malicious file to exhaust the CPU and memory on the host and crash the nodejs client.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to node-tar version 6.2.1 or later.

See Also

http://www.nessus.org/u?0b8d8923

Plugin Details

Severity: Medium

ID: 192685

File Name: nodejs_module_tar_6_2_1.nasl

Version: 1.3

Type: local

Agent: windows

Family: Misc.

Published: 3/29/2024

Updated: 10/7/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2024-28863

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:node-tar_project:node-tar

Required KB Items: Host/nodejs/modules/enumerated

Exploit Ease: No known exploits are available

Patch Publication Date: 3/21/2023

Vulnerability Publication Date: 3/21/2024

Reference Information

CVE: CVE-2024-28863

IAVB: 2024-B-0027