Node.js 16.x < 16.20.2 / 18.x < 18.17.1 / 20.x < 20.5.1 Multiple Vulnerabilities (Wednesday August 09 2023 Security Releases).

critical Nessus Plugin ID 179692

Synopsis

Node.js - JavaScript run-time environment is affected by multiple vulnerabilities.

Description

The version of Node.js installed on the remote host is prior to 16.20.2, 18.17.1, 20.5.1. It is, therefore, affected by multiple vulnerabilities as referenced in the Wednesday August 09 2023 Security Releases advisory:

- Permissions policies can be bypassed via Module._load (CVE-2023-32002)

- Permission model bypass by specifying a path traversal sequence in a Buffer (CVE-2023-32004)

- process.binding() can bypass the permission model through path traversal (CVE-2023-32558)

- Permissions policies can impersonate other modules in using module.constructor.createRequire() (CVE-2023-32006)

- Permissions policies can be bypassed via process.binding (CVE-2023-32559)

- fs.statfs can retrive stats from files restricted by the Permission Model (CVE-2023-32005)

- fs.mkdtemp() and fs.mkdtempSync() are missing getValidatedPath() checks (CVE-2023-32003)

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.js version 16.20.22 / 18.17.1 / 20.5.1 or later.

See Also

http://www.nessus.org/u?c4ab34c1

Plugin Details

Severity: Critical

ID: 179692

File Name: nodejs_2023_aug.nasl

Version: 1.10

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 8/11/2023

Updated: 1/9/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2023-32002

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: cpe:/a:nodejs:node.js

Required KB Items: installed_sw/Node.js

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/9/2023

Vulnerability Publication Date: 8/9/2023

Reference Information

CVE: CVE-2023-32002, CVE-2023-32003, CVE-2023-32004, CVE-2023-32005, CVE-2023-32006, CVE-2023-32558, CVE-2023-32559

IAVB: 2023-B-0059-S