CVE-2023-23918
published high CVSS 3.1 · 7.5Node.js: Permissions policies can be bypassed via process.mainModule
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.21.3 · 15.0 to < 15.* · 16.0 to < 16.19.1 · 17.0 to < 17.* · 18.0 to < 18.14.1 · 19.0 to < 19.6.1 · Other versions: unaffected | Affected | Not stated | hackerone |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-243 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| Alpine Linux | edge | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Debian | bookworm | nodejs | Advisory build | 18.19.0+dfsg-6~deb12u1 | DSA-5589-1 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-3.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-3.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:1583 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2023:1743 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 25-1.module_el8.5.0+2605+45d748af | ALSA-2023:1582 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:1583 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1743 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.19.3-1.16.19.1.1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1582 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.5.0-1.18.14.2.2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1583 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.19.3-1.16.19.1.1.el9_2 | ALSA-2023:2655 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.5.0-1.18.14.2.2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| Alpine Linux | v3.14 | nodejs | Fixed | 14.21.3-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs | Fixed | 16.19.1-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs | Fixed | 16.19.1-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 18.14.1-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 14b | Advisory build | 1:14.21.3-1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.19.1-1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 14b | Advisory build | 0:2.0.20-3.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:2.0.20-3.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 14b | Advisory build | 0:2.0.20-3.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:2.0.20-3.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2023-1743 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2023-1582 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-1583 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-1583 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 14b | Advisory build | 1:6.14.18-1.14.21.3.1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.19.3-1.16.19.1.1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.5.0-1.18.14.2.2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 14b | Advisory build | 1:6.14.18-1.14.21.3.1.module+el8.7.0+21031+52889874 | ELSA-2023-1743 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.19.3-1.16.19.1.1.module+el8.7.0+21021+1eb7f63d | ELSA-2023-1582 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.5.0-1.18.14.2.2.module+el8.7.0+21020+b7aeeb08 | ELSA-2023-1583 |
| Oracle Linux | 9 | nodejsaarch64 | Advisory build | 1:16.19.1-1.el9_2 | ELSA-2023-2655 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
| Oracle Linux | 9 | nodejsx86_64 | Advisory build | 1:16.19.1-1.el9_2 | ELSA-2023-2655 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
| Oracle Linux | 9 | nodejs-docsaarch64 | Advisory build | 1:16.19.1-1.el9_2 | ELSA-2023-2655 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.14.2-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-2654 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.
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
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.21.3 (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.19.1 (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.14.1 (affected · semver)19.0 to < 19.6.1 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
2- Privilege Escalation (CAPEC-233)
- CWE-863 CWE-863 Incorrect Authorization
References
2Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3d15568a2bfd80f54ab106c435676945ca926447e12caa298c54db260403e627
- Ingested
- 23 Sep 2026, 08:06:35 UTC
- Source record
- Official CVE record