CVE-2023-30588

Public on 2023-06-23
Modified on 2024-02-02
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
5.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2023 nodejs 2023-07-05 ALAS2023-2023-237 Fixed
Amazon Linux 2 - Core nodejs-packaging Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD CVSSv3 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L