CVE-2023-32006
HIGH8.8EPSS 0.07%Published: 8/15/2023Modified: 4/28/2026
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.
Affected packages (4)
- Alpine/nodejsfrom 0, < 16.20.2-r0
- Bitnami/nodefrom 0, < 16.20.2, >= 17.0.0, < 18.17.1, >= 19.0.0, < 20.5.1
- Bitnami/node-minfrom 0, < 16.20.2, >= 17.0.0, < 18.17.1, >= 19.0.0, < 20.5.1
- Debian/nodejsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2023-32006
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2023-32006
- WEBhttps://hackerone.com/reports/2043807
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-32006
- WEBhttps://security.netapp.com/advisory/ntap-20230915-0009/