CVE-2023-32006

HIGH

Node.js 16.x-20.x - Policy Mechanism Bypass via module.constructor.createRequire()

Title source: llm
STIX 2.1

Description

The use of `module.constructor.createRequire()` can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and, 20.x. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.

Scores

CVSS v3 8.8
EPSS 0.0007
EPSS Percentile 22.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-693
Status published
Products (3)
fedoraproject/fedora 37
fedoraproject/fedora 38
nodejs/node.js 16.0.0 - 16.20.1
Published Aug 15, 2023
Tracked Since Feb 18, 2026