CVE-2023-30581
published high CVSS 3.1 · 7.5nodejs: mainModule.proto bypass experimental policy mechanism
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.1 · 17.0 to < 17.* · 18.0 to < 18.16.1 · 19.0 to < 19.* · 20.0 to < 20.3.1 · Other versions: unaffected | Affected | Not stated | hackerone |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-237 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f | ALSA-2023:4537 |
| 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.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 | RHSA-2023:4537 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.16.1-1.module_el8.8.0+3595+0818e803 | ALSA-2023:4536 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f | ALSA-2023:4537 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.16.1-1.module_el8.8.0+3595+0818e803 | ALSA-2023:4536 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f | ALSA-2023:4537 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.16.1-1.module_el8.8.0+3595+0818e803 | ALSA-2023:4536 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f | ALSA-2023:4537 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.16.1-1.module_el8.8.0+3595+0818e803 | ALSA-2023:4536 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el8.8.0+3587+ee652244 | ALSA-2023:4536 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.20-3.module_el8.8.0+3586+d4fc0b72 | ALSA-2023:4537 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4536 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 25-1.module_el8.5.0+2605+45d748af | ALSA-2023:4537 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:4536 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.19.4-1.16.20.1.1.module_el8.8.0+3594+e74fe53f | ALSA-2023:4537 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.5.1-1.18.16.1.1.module_el8.8.0+3595+0818e803 | ALSA-2023:4536 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:16.20.1-1.el9_2 | ALSA-2023:4331 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:16.20.1-1.el9_2 | ALSA-2023:4331 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:16.20.1-1.el9_2 | ALSA-2023:4331 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-libs | Advisory build | 1:16.20.1-1.el9_2 | ALSA-2023:4331 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:4330 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:4330 |
| AlmaLinux | 9 | npm | Advisory build | 1:8.19.4-1.16.20.1.1.el9_2 | ALSA-2023:4331 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.5.1-1.18.16.1.1.module_el9.2.0+31+cbae0c8e | ALSA-2023:4330 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.20.1-1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:2.0.20-3.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:2.0.20-3.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:25-1.module+el8.5.0+20388+4b61e68d | ELSA-2023-4537 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4536 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-4536 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.1.1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.5.1-1.18.16.1.1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.1.1.module+el8.8.0+21143+178952bb | ELSA-2023-4537 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.5.1-1.18.16.1.1.module+el8.8.0+21140+54ee8b93 | ELSA-2023-4536 |
| Oracle Linux | 9 | nodejsaarch64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejsx86_64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-docsaarch64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-docsx86_64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.16.1-1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-libsaarch64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-libsx86_64 | Advisory build | 1:16.20.1-1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:2.0.20-2.module+el9.2.0+21038+115df6a2 | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-4330 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-4330 |
| Oracle Linux | 9 | npmaarch64 | Advisory build | 1:8.19.4-1.16.20.1.1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.5.1-1.18.16.1.1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Oracle Linux | 9 | npmx86_64 | Advisory build | 1:8.19.4-1.16.20.1.1.el9_2 | ELSA-2023-4331 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.5.1-1.18.16.1.1.module+el9.2.0+21133+486db26c | ELSA-2023-4330 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:18.16.1-1.module+el8.8.0+19438+94e84959 | RHSA-2023:4536 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 | RHSA-2023:4537 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:18.16.1-1.module+el8.8.0+19438+94e84959 | RHSA-2023:4536 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 | RHSA-2023:4537 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:18.16.1-1.module+el8.8.0+19438+94e84959 | RHSA-2023:4536 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 | RHSA-2023:4537 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:18.16.1-1.module+el8.8.0+19438+94e84959 | RHSA-2023:4536 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 | RHSA-2023:4537 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:18.16.1-1.module+el8.8.0+19438+94e84959 | RHSA-2023:4536 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. 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
- 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:N/I:H/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.* (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.20.1 (affected · semver)17.0 to < 17.* (affected · semver)18.0 to < 18.16.1 (affected · semver)19.0 to < 19.* (affected · semver)20.0 to < 20.3.1 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-862 CWE-862 Missing Authorization
References
2Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d9fa43bde51a888f2539ec42cbdece9ffced9c34dfc98cf3793a7336b13c95e
- Ingested
- 23 Sep 2026, 08:08:27 UTC
- Source record
- Official CVE record