CVE Database
/

CVE-2023-32006

Back to search

CVE-2023-32006

Published: Aug 15, 2023

Modified: May 8, 2025

PUBLISHED

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.

VendorProductVersions

NodeJS

Node

affected
4.0 - < 4.*
affected
5.0 - < 5.*
affected
6.0 - < 6.*
affected
7.0 - < 7.*
affected
8.0 - < 8.*

+12 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now