Skip to content
OpenAdvisories
Unscored CVE-2023-30588 EUVD-2023-34969GHSA-g526-x7vj-cfv6

When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs mak…

Published Nov 28, 2023 · Updated Nov 2, 2026 · Assigned by hackerone

Description

When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs making it susceptible to DoS attacks when the attacker could force interruptions of application processing, as the process terminates when accessing public key info of provided certificates from user code. The current context of the users will be gone, and that will cause a DoS scenario. This vulnerability affects all active Node.js versions v16, v18, and, v20.

Affected products

VendorProductAffectedFixed
NodeJS Node 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.20.1, 17.0 – < 17.*, 18.0 – < 18.16.1, 19.0 – < 19.*, 20.0 – < 20.3.1 4.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs 18.13.0+dfsg1-1.1 —
Debian 13 nodejs 18.13.0+dfsg1-1.1 —
Debian 12 nodejs 18.19.0+dfsg-6~deb12u1 DSA-5589-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS nodejs 12.22.9~dfsg-1ubuntu3.5 USN-6735-1
Ubuntu 20.04 LTS nodejs 10.19.0~dfsg-3ubuntu1.6 USN-6735-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS nodejs 8.10.0~dfsg-2ubuntu0.4+esm5 USN-6735-1
Ubuntu Pro 16.04 LTS nodejs 4.2.6~dfsg-1ubuntu4.2+esm3 USN-6735-1
Ubuntu Pro 14.04 LTS nodejs 0.10.25~dfsg2-2ubuntu1.2+esm2 USN-6735-1
ReleasePackageFixed inAdvisory
RHEL 9 nodejs +3 1:16.20.1-1.el9_2 RHSA-2023:4331, RHSA-2023:4330
RHEL 9 nodejs-devel 1:18.16.1-1.module+el9.2.0.z+19424+78951f07 RHSA-2023:4330
RHEL 9 nodejs-nodemon 2.0.20-2.module+el9.2.0.z+18497+a402347c RHSA-2023:4330
RHEL 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+15718+e52ec601 RHSA-2023:4330
RHEL 9 npm 1:8.19.4-1.16.20.1.1.el9_2 RHSA-2023:4331, RHSA-2023:4330
RHEL 8 nodejs +3 1:16.20.1-1.module+el8.8.0+19440+ee8dbee5 RHSA-2023:4537, RHSA-2023:4536
RHEL 8 nodejs-nodemon 2.0.20-2.module+el8.8.0+18432+27f188ac RHSA-2023:4537, RHSA-2023:4536
RHEL 8 nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06 RHSA-2023:4537, RHSA-2023:4536
RHEL 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2023:4536
RHEL 8 npm 1:8.19.4-1.16.20.1.1.module+el8.8.0+19440+ee8dbee5 RHSA-2023:4537, RHSA-2023:4536
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS nodejs +3 1:16.20.2-1.el9_0 RHSA-2023:5533
RHEL 9.0 EUS npm 1:8.19.4-1.16.20.2.1.el9_0 RHSA-2023:5533
RHEL 8.6 EUS nodejs +3 1:16.20.2-2.module+el8.6.0+19897+9590a839 RHSA-2023:5361
RHEL 8.6 EUS nodejs-nodemon 3.0.1-1.module+el8.6.0+19765+366b9144 RHSA-2023:5361
RHEL 8.6 EUS nodejs-packaging 26-1.module+el8.6.0+19856+c0c87259 RHSA-2023:5361
RHEL 8.6 EUS npm 1:8.19.4-1.16.20.2.2.module+el8.6.0+19897+9590a839 RHSA-2023:5361

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nodejs +3 1:16.20.1-1.el9_2 ALSA-2023:4331, ALSA-2023:4330
AlmaLinux 9 nodejs-devel 1:18.16.1-1.module_el9.2.0+31+cbae0c8e ALSA-2023:4330
AlmaLinux 9 nodejs-nodemon 2.0.20-2.module_el9.2.0+29+de583a0b ALSA-2023:4330
AlmaLinux 9 nodejs-packaging +1 2021.06-4.module_el9.1.0+13+d9a595ea ALSA-2023:4330
AlmaLinux 9 npm 1:8.19.4-1.16.20.1.1.el9_2 ALSA-2023:4331, ALSA-2023:4330
AlmaLinux 8 nodejs +3 1:16.20.1-1.module_el8.8.0+3594+e74fe53f ALSA-2023:4537, ALSA-2023:4536
AlmaLinux 8 nodejs-nodemon 2.0.20-2.module_el8.8.0+3587+ee652244 ALSA-2023:4537, ALSA-2023:4536
AlmaLinux 8 nodejs-packaging 25-1.module_el8.5.0+2605+45d748af ALSA-2023:4537, ALSA-2023:4536
AlmaLinux 8 nodejs-packaging-bundler 2021.06-4.module_el8.7.0+3343+ea2b7901 ALSA-2023:4536
AlmaLinux 8 npm 1:8.19.4-1.16.20.1.1.module_el8.8.0+3594+e74fe53f ALSA-2023:4537, ALSA-2023:4536

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 nodejs-packaging 2021.06-4.module+el9.7.0+40022+9ecc286c RLSA-2023:4330
Rocky Linux 8 nodejs 1:18.16.1-1.module+el8.8.0+1413+a47876c7 RLSA-2023:4536
Rocky Linux 8 nodejs-nodemon 2.0.20-2.module+el8.7.0+1177+510ae886 RLSA-2023:4537, RLSA-2023:4536
Rocky Linux 8 nodejs-packaging 25-1.module+el8.7.0+1108+49363b0d RLSA-2023:4537, RLSA-2023:4536
ReleasePackageFixed inAdvisory
SLES 15 SP5 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
SLES 15 SP4 nodejs16 16.20.1-150400.3.21.1 SUSE-SU-2023:2663-1
SLES 15 SP4 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
SLES 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SLES 12 nodejs16 16.20.1-8.30.1 SUSE-SU-2023:2655-1
SLES 12 nodejs18 18.16.1-8.9.1 SUSE-SU-2023:2662-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SLE HPC 15 SP3 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SUSE Manager Server 4.2 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
SUSE Enterprise Storage 7.1 nodejs16 16.20.1-150300.7.24.2 SUSE-SU-2023:2861-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs20 20.3.1-1.1 openSUSE-SU-2024:13021-1
openSUSE Leap 15.5 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1
openSUSE Leap 15.4 nodejs16 16.20.1-150400.3.21.1 SUSE-SU-2023:2663-1
openSUSE Leap 15.4 nodejs18 18.16.1-150400.9.9.1 SUSE-SU-2023:2669-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.12.1-1.amzn2023.0.7 ALAS2023-2023-237
Amazon Linux 2023 npm 1:8.19.2-1.18.12.1.1.amzn2023.0.7 ALAS2023-2023-237
Amazon Linux 2023 v8-devel 2:10.2.154.15-1.18.12.1.1.amzn2023.0.7 ALAS2023-2023-237

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 graalvm-community-17-jdk +1 17.0.9-1.el9 ELSA-2023-12944, ELSA-2023-12943
Oracle Linux 9 graalvm-community-17-llvm +17 23.0.2-1.el9 ELSA-2023-12944, ELSA-2023-12943
Oracle Linux 9 graalvm-community-21-jdk +1 21.0.1-1.el9 ELSA-2023-12942, ELSA-2023-12941
Oracle Linux 9 nodejs +3 1:16.20.1-1.el9_2 ELSA-2023-4331, ELSA-2023-4330
Oracle Linux 9 nodejs-devel 1:18.16.1-1.module+el9.2.0+21133+486db26c ELSA-2023-4330
Oracle Linux 9 nodejs-nodemon 2.0.20-2.module+el9.2.0+21038+115df6a2 ELSA-2023-4330
Oracle Linux 9 nodejs-packaging +1 2021.06-4.module+el9.1.0+20762+f52d7401 ELSA-2023-4330
Oracle Linux 9 npm 1:8.19.4-1.16.20.1.1.el9_2 ELSA-2023-4331, ELSA-2023-4330
Oracle Linux 8 graalvm-community-17-jdk +1 17.0.9-1.el8 ELSA-2023-12940, ELSA-2023-12939
Oracle Linux 8 graalvm-community-17-llvm +17 23.0.2-1.el8 ELSA-2023-12940, ELSA-2023-12939
Oracle Linux 8 graalvm-community-21-jdk +1 21.0.1-1.el8 ELSA-2023-12938, ELSA-2023-12937
Oracle Linux 8 nodejs +3 1:16.20.1-1.module+el8.8.0+21143+178952bb ELSA-2023-4537, ELSA-2023-4536
Oracle Linux 8 nodejs-nodemon 2.0.20-2.module+el8.8.0+21140+54ee8b93 ELSA-2023-4537, ELSA-2023-4536
Oracle Linux 8 nodejs-packaging 25-1.module+el8.5.0+20388+4b61e68d ELSA-2023-4537, ELSA-2023-4536
Oracle Linux 8 nodejs-packaging-bundler 2021.06-4.module+el8.7.0+20766+0a247725 ELSA-2023-4536
Oracle Linux 8 npm 1:8.19.4-1.16.20.1.1.module+el8.8.0+21143+178952bb ELSA-2023-4537, ELSA-2023-4536
Oracle Linux 7 graalvm-community-17-jdk +1 17.0.9-1.el7 ELSA-2023-12935, ELSA-2023-12933
Oracle Linux 7 graalvm-community-17-llvm +17 23.0.2-1.el7 ELSA-2023-12935, ELSA-2023-12933
Oracle Linux 7 graalvm-community-21-jdk +1 21.0.1-1.el7 ELSA-2023-12936, ELSA-2023-12934

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 16.20.1-r0 —
Wolfi rolling nodejs-18 18.16.1-r0 —
Wolfi rolling nodejs-20 20.3.1-r0 —

Advisories 42

References