CVE-2023-32006
HIGH 8.8CVSS 3.1The 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.
- Published
- 15 Aug 2023
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-693
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* |
>= 16.0.0, <= 16.20.1 | |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* |
>= 18.0.0, <= 18.17.0 | |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* |
>= 20.0.0, <= 20.5.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 |
References
- https://hackerone.com/reports/2043807 · Issue Tracking
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/ · Mailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/ · Mailing List
- https://security.netapp.com/advisory/ntap-20230915-0009/
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 15 Aug 2023)