CVE-2023-32006
published high CVSS 3.1 · 8.8nodejs: Permissions policies can impersonate other modules in using module.constructor.createRequire()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.* · 13.0 to < 13.* · 14.0 to < 14.* · 15.0 to < 15.* · 16.0 to < 16.20.2 · 17.0 to < 17.* · 18.0 to < 18.17.1 · 19.0 to < 19.* · 20.0 to < 20.5.1 · Other versions: unaffected | Affected | Not stated | hackerone |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-304 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| Alpine Linux | edge | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Debian | bookworm | nodejs | Advisory build | 18.19.0+dfsg-6~deb12u1 | DSA-5589-1 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 26-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.20.2-1.el9_2 | ALSA-2023:5532 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.20.2-1.el9_2 | ALSA-2023:5532 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.20.2-1.el9_2 | ALSA-2023:5532 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.20.2-1.el9_2 | ALSA-2023:5532 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.19.4-1.16.20.2.1.el9_2 | ALSA-2023:5532 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| Alpine Linux | v3.15 | nodejs | Fixed | 16.20.2-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs | Fixed | 16.20.2-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 18.17.1-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:3.0.1-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:3.0.1-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:26-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:26-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 9 | nodejsaarch64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejsx86_64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-docsaarch64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-docsx86_64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-libsaarch64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-libsx86_64 | Advisory build | 1:16.20.2-1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | npmaarch64 | Advisory build | 1:8.19.4-1.16.20.2.1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | npmx86_64 | Advisory build | 1:8.19.4-1.16.20.2.1.el9_2 | ELSA-2023-5532 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.* (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.20.2 (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.17.1 (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.5.1 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-693 CWE-693 Protection Mechanism Failure
References
4- 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/
Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2ae6ecd39631c2cde167916a08b256453467742c33d696e01c5d23538f989689
- Ingested
- 23 Sep 2026, 08:08:48 UTC
- Source record
- Official CVE record