CVE-2023-30581
Fixed in a distro release EPSS 1%CVSS 7.5
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
Products: NodeJS Node
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | nodejs | 1:18.16.1-1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 8 | nodejs | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f |
| AlmaLinux 8 | nodejs-devel | 1:18.16.1-1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 8 | nodejs-devel | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f |
| AlmaLinux 8 | nodejs-docs | 1:18.16.1-1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 8 | nodejs-docs | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f |
| AlmaLinux 8 | nodejs-full-i18n | 1:18.16.1-1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 8 | nodejs-full-i18n | 1:16.20.1-1.module_el8.8.0+3594+e74fe53f |
| AlmaLinux 8 | nodejs-nodemon | 2.0.20-2.module_el8.8.0+3587+ee652244 |
| AlmaLinux 8 | nodejs-nodemon | 2.0.20-3.module_el8.8.0+3586+d4fc0b72 |
| AlmaLinux 8 | nodejs-packaging | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux 8 | nodejs-packaging | 25-1.module_el8.5.0+2605+45d748af |
| AlmaLinux 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux 8 | npm | 1:8.19.4-1.16.20.1.1.module_el8.8.0+3594+e74fe53f |
| AlmaLinux 8 | npm | 1:9.5.1-1.18.16.1.1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 9 | nodejs | 1:16.20.1-1.el9_2 |
| AlmaLinux 9 | nodejs | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e |
| AlmaLinux 9 | nodejs-devel | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e |
| AlmaLinux 9 | nodejs-docs | 1:16.20.1-1.el9_2 |
| AlmaLinux 9 | nodejs-docs | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e |
| AlmaLinux 9 | nodejs-full-i18n | 1:16.20.1-1.el9_2 |
| AlmaLinux 9 | nodejs-full-i18n | 1:18.16.1-1.module_el9.2.0+31+cbae0c8e |
| AlmaLinux 9 | nodejs-libs | 1:16.20.1-1.el9_2 |
| AlmaLinux 9 | nodejs-nodemon | 2.0.20-2.module_el9.2.0+29+de583a0b |
| AlmaLinux 9 | nodejs-packaging | 2021.06-4.module_el9.1.0+13+d9a595ea |
| AlmaLinux 9 | nodejs-packaging-bundler | 2021.06-4.module_el9.1.0+13+d9a595ea |
| AlmaLinux 9 | npm | 1:8.19.4-1.16.20.1.1.el9_2 |
| AlmaLinux 9 | npm | 1:9.5.1-1.18.16.1.1.module_el9.2.0+31+cbae0c8e |
| Chainguard | nodejs-16 | 16.20.1-r0 |
| Chainguard | nodejs-16-doc | 16.20.1-r0 |
| Chainguard | nodejs-18 | 18.16.1-r0 |
| Chainguard | nodejs-18-doc | 18.16.1-r0 |
| Chainguard | nodejs-20 | 20.3.1-r0 |
| Chainguard | nodejs-20-doc | 20.3.1-r0 |
| Debian 12 | nodejs | 18.19.0+dfsg-6~deb12u1 |
| Debian 13 | nodejs | 18.13.0+dfsg1-1.1 |
| Debian 14 | nodejs | 18.13.0+dfsg1-1.1 |
| Red Hat Enterprise Linux 8 | nodejs | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-debuginfo | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-debugsource | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-devel | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-docs | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | 1:18.16.1-1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.20-3.module+el8.8.0+19038+6f60344f |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | 0:2.0.20-2.module+el8.8.0+18432+27f188ac |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:25-1.module+el8.5.0+10992+fac5fe06 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.7.0+15582+19c314fa |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | 0:2021.06-4.module+el8.7.0+15582+19c314fa |
| Red Hat Enterprise Linux 8 | npm | 1:9.5.1-1.18.16.1.1.module+el8.8.0+19438+94e84959 |
| Red Hat Enterprise Linux 8 | npm | 1:8.19.4-1.16.20.1.1.module+el8.8.0+19440+ee8dbee5 |
| Red Hat Enterprise Linux 9 | nodejs | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-debuginfo | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-debuginfo | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-debugsource | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-debugsource | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-devel | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-docs | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-docs | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs-libs | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-libs-debuginfo | 1:16.20.1-1.el9_2 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | 0:2.0.20-2.module+el9.2.0.z+18497+a402347c |
| Red Hat Enterprise Linux 9 | nodejs-packaging | 0:2021.06-4.module+el9.1.0+15718+e52ec601 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | 0:2021.06-4.module+el9.1.0+15718+e52ec601 |
| Red Hat Enterprise Linux 9 | npm | 1:8.19.4-1.16.20.1.1.el9_2 |
| Red Hat Enterprise Linux 9 | npm | 1:9.5.1-1.18.16.1.1.module+el9.2.0.z+19424+78951f07 |
| Red Hat rhel eus 8.6 | nodejs | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-debuginfo | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-debugsource | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-devel | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-docs | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-full-i18n | 1:16.20.2-2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 8.6 | nodejs-nodemon | 0:3.0.1-1.module+el8.6.0+19765+366b9144 |
| Red Hat rhel eus 8.6 | nodejs-packaging | 0:26-1.module+el8.6.0+19856+c0c87259 |
| Red Hat rhel eus 8.6 | npm | 1:8.19.4-1.16.20.2.2.module+el8.6.0+19897+9590a839 |
| Red Hat rhel eus 9.0 | nodejs | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-debuginfo | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-debugsource | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-docs | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-full-i18n | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-libs | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | nodejs-libs-debuginfo | 1:16.20.2-1.el9_0 |
| Red Hat rhel eus 9.0 | npm | 1:8.19.4-1.16.20.2.1.el9_0 |
| Rocky Linux 8 | nodejs | 1:18.16.1-1.module+el8.8.0+1413+a47876c7 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.20-3.module+el8.7.0+1178+d52dba78 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.20-2.module+el8.7.0+1177+510ae886 |
| Rocky Linux 8 | nodejs-packaging | 0:2021.06-4.module+el8.7.0+1072+5b168780 |
| Rocky Linux 8 | nodejs-packaging | 0:25-1.module+el8.7.0+1108+49363b0d |
| SUSE Enterprise Storage 7 | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Enterprise Storage 7.1 | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Enterprise Storage 7.1 | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Enterprise Storage 7.1 | nodejs16 | 16.20.1-150300.7.24.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | nodejs16 | 16.20.1-150300.7.24.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | nodejs16 | 16.20.1-150300.7.24.2 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs14 | 14.21.3-6.46.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs16 | 16.20.1-8.30.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | nodejs18 | 18.16.1-8.9.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP4 | nodejs16 | 16.20.1-150400.3.21.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP4 | nodejs18 | 18.16.1-150400.9.9.1 |
| SUSE Linux Enterprise Module for Web and Scripting 15 SP5 | nodejs18 | 18.16.1-150400.9.9.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | nodejs16 | 16.20.1-150300.7.24.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | nodejs16 | 16.20.1-150300.7.24.2 |
| SUSE Manager Server 4.2 | nodejs12 | 12.22.12-150200.4.50.1 |
| SUSE Manager Server 4.2 | nodejs14 | 14.21.3-150200.15.49.1 |
| SUSE Manager Server 4.2 | nodejs16 | 16.20.1-150300.7.24.2 |
| Ubuntu 24.04 LTS | nodejs | 18.19.1+dfsg-2ubuntu4 |
| Wolfi | nodejs-16 | 16.20.1-r0 |
| Wolfi | nodejs-16-doc | 16.20.1-r0 |
| Wolfi | nodejs-18 | 18.16.1-r0 |
| Wolfi | nodejs-18-doc | 18.16.1-r0 |
| Wolfi | nodejs-20 | 20.3.1-r0 |
| Wolfi | nodejs-20-doc | 20.3.1-r0 |
| openSUSE Leap 15.4 | nodejs12 | 12.22.12-150200.4.50.1 |
| openSUSE Leap 15.4 | nodejs14 | 14.21.3-150200.15.49.1 |
| openSUSE Leap 15.4 | nodejs16 | 16.20.1-150400.3.21.1 |
| openSUSE Leap 15.4 | nodejs18 | 18.16.1-150400.9.9.1 |
| openSUSE Leap 15.5 | nodejs18 | 18.16.1-150400.9.9.1 |
| openSUSE Tumbleweed | nodejs20 | 20.3.1-1.1 |