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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: hackerone
Published: 2023-08-15T15:10:09.447Z
Updated: 2024-08-02T15:03:28.787Z
Reserved: 2023-05-01T01:00:12.220Z
Link: CVE-2023-32006
Vulnrichment
No data.
NVD
Status : Modified
Published: 2023-08-15T16:15:11.460
Modified: 2023-09-15T14:15:10.087
Link: CVE-2023-32006
Redhat