CVE-2023-30588
JSON

5.3medium

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

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
0.91% (higher than 58% of CVEs)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2023-30588BIT-NODE-MIN-2023-30588

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

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 9 moreCVE List
nodejs node.jsfrom 16.0.0 before 16.20.1, from 18.0.0 before 18.16.1, from 20.0.0 before 20.3.1NVD
node (Bitnami)from 16.0.0 before 16.20.1, from 18.0.0 before 18.16.1, from 20.0.0 before 20.3.1Bitnami Vulnerability Database
node-min (Bitnami)from 16.0.0 before 16.20.1, from 18.0.0 before 18.16.1, from 20.0.0 before 20.3.1Bitnami Vulnerability Database

All scores

NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Bitnami Vulnerability Databasemedium rating

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Cuando se utiliza una clave pública no válida para crear x509 certificates utilizando la API crypto.X509Certificate(), se produce una terminación no esperada que la hace susceptible a ataques DoS cuando el atacante podría forzar interrupciones en el procesamiento de la aplicación, ya que el proceso finaliza al acceder a la información de clave pública de los certificados proporcionados desde el código de usuario. El contexto actual de los usuarios desaparecerá y eso provocará un escenario DoS. Esta vulnerabilidad afecta a todas las versiones activas de Node.js v16, v18 y v20.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-30588 changed 2026-11-02CVE Terms of Use
NVDCVE-2023-30588 changed 2026-11-02Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2023-30588 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2023-30588 changed 2026-09-08Apache-2.0