CVE-2023-30590
Fixed in a distro release EPSS 1%
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values". The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.
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: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-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: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-nodemon | 2.0.20-3.module_el8.8.0+3586+d4fc0b72 |
| AlmaLinux 8 | nodejs-nodemon | 2.0.20-2.module_el8.8.0+3587+ee652244 |
| AlmaLinux 8 | nodejs-packaging | 25-1.module_el8.5.0+2605+45d748af |
| AlmaLinux 8 | nodejs-packaging | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux 8 | npm | 1:9.5.1-1.18.16.1.1.module_el8.8.0+3595+0818e803 |
| AlmaLinux 8 | npm | 1:8.19.4-1.16.20.1.1.module_el8.8.0+3594+e74fe53f |
| 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:18.16.1-1.module_el9.2.0+31+cbae0c8e |
| AlmaLinux 9 | nodejs-docs | 1:16.20.1-1.el9_2 |
| 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 10 | nodejs | 10.24.0~dfsg-1~deb10u4 |
| Debian 11 | nodejs | 12.22.12~dfsg-1~deb11u5 |
| 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: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-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: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-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:8.19.4-1.16.20.1.1.module+el8.8.0+19440+ee8dbee5 |
| 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 9 | nodejs | 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 |
| Red Hat Enterprise Linux 9 | nodejs | 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-debuginfo | 1:16.20.1-1.el9_2 |
| 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-2.module+el8.7.0+1177+510ae886 |
| Rocky Linux 8 | nodejs-nodemon | 0:2.0.20-3.module+el8.7.0+1178+d52dba78 |
| 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 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.6 |
| Ubuntu 22.04 LTS | nodejs | 12.22.9~dfsg-1ubuntu3.5 |
| Ubuntu Pro 14.04 LTS | nodejs | 0.10.25~dfsg2-2ubuntu1.2+esm2 |
| Ubuntu Pro 16.04 LTS | nodejs | 4.2.6~dfsg-1ubuntu4.2+esm3 |
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm5 |
| 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 |