PT-2023-4496 · Node.Js+7 · Node.Js+7

Axel Chong

·

Published

2023-06-20

·

Updated

2025-02-13

·

CVE-2023-30581

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Node.js versions v16, v18, and v20
Description The issue is related to the use of proto in process.mainModule. proto .require(), which can bypass the policy mechanism and allow requiring modules outside of the policy.json definition. This affects users of the experimental policy mechanism in the mentioned release lines. The policy is noted as an experimental feature of Node.js at the time of issue identification.
Recommendations For Node.js versions v16, v18, and v20, consider disabling the use of proto in process.mainModule. proto .require() as a temporary workaround until a patch is available. Restrict access to modules outside of the policy.json definition to minimize the risk of exploitation. Avoid using the experimental policy mechanism in production environments until a stable version is released. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Missing Authorization

Weakness Enumeration

Related Identifiers

ALSA-2023:4330
ALSA-2023:4331
ALSA-2023:4536
ALSA-2023:4537
ALT-PU-2023-4642
ALT-PU-2024-14696
ALT-PU-2025-2007
ALT-PU-2025-2047
BDU:2023-04892
BIT-NODE-2023-30581
BIT-NODE-MIN-2023-30581
CESA-2023_4536
CESA-2023_4537
CVE-2023-30581
DSA-5589-1
MGASA-2023-0226
OESA-2023-1551
OPENSUSE-SU-2023_3408-1
OPENSUSE-SU-2023_3455-1
OPENSUSE-SU-2024:13021-1
RHSA-2023:4330
RHSA-2023:4331
RHSA-2023:4536
RHSA-2023:4537
RHSA-2023:5361
RHSA-2023:5533
RHSA-2023_4330
RHSA-2023_4331
RHSA-2023_4536
RHSA-2023_4537
RLSA-2023:4536
RLSA-2023:4537
SUSE-SU-2023:2655-1
SUSE-SU-2023:2662-1
SUSE-SU-2023:2663-1
SUSE-SU-2023:2669-1
SUSE-SU-2023:2861-1
SUSE-SU-2023:3306-1
SUSE-SU-2023:3408-1
SUSE-SU-2023:3455-1
SUSE-SU-2023_2655-1
SUSE-SU-2023_2663-1
SUSE-SU-2023_2861-1
SUSE-SU-2023_3306-1
SUSE-SU-2023_3408-1

Affected Products

Alt Linux
Almalinux
Centos
Debian
Node.Js
Red Hat
Rocky Linux
Suse