Vulnerability
CVE-2023-32006
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.
44 advisories report this vulnerability, across 15 ecosystems.
Advisories in Azure Linux
-
AZL-27926
CVE-2023-32006 affecting package nodejs18 for versions less than 18.17.1-2
-
AZL-27941
CVE-2023-32006 affecting package nodejs for versions less than 16.20.2-2
References
- https://hackerone.com/reports/2043807
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/
- https://security.netapp.com/advisory/ntap-20230915-0009/