ADVISORIES

CVE Program

CNA-CVE-2023-30588

Details

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 packages

EcosystemPackageAffected versions
Node.jsnode
From 4.0 before 5
From 5.0 before 6
From 6.0 before 7
From 7.0 before 8
From 8.0 before 9
From 9.0 before 10
From 10.0 before 11
From 11.0 before 12
From 12.0 before 13
From 13.0 before 14
From 14.0 before 15
From 15.0 before 16
From 16.0 before 16.20.1 (fixed in 16.20.1)
From 17.0 before 18
From 18.0 before 18.16.1 (fixed in 18.16.1)
From 19.0 before 20
From 20.0 before 20.3.1 (fixed in 20.3.1)

References