PT-2023-9601 · Node.Js · Node.Js

Axel Chong

·

Published

2023-06-26

·

Updated

2025-05-08

·

CVE-2023-32004

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Node.js version 20
Description A vulnerability has been discovered in the experimental permission model of Node.js, specifically related to improper handling of Buffers in file system APIs, causing a traversal path to bypass when verifying file permissions. This issue affects all users using the experimental permission model in Node.js 20. The vulnerability can be exploited by specifying a path traversal sequence in a Buffer, allowing an attacker to bypass security restrictions and gain unauthorized access to protected information.
Recommendations For Node.js version 20, consider disabling the experimental permission model until a patch is available. As a temporary workaround, restrict access to file system APIs to minimize the risk of exploitation. Avoid using Buffers with path traversal sequences in file system APIs until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Path traversal

Weakness Enumeration

Related Identifiers

BDU:2024-08682
BIT-NODE-2023-32004
BIT-NODE-MIN-2023-32004
CVE-2023-32004
OPENSUSE-SU-2024:13117-1

Affected Products

Node.Js