CVE-2023-30588
npm vulnerability analysis and mitigation

Overview

CVE-2023-30588 affects Node.js versions v16, v18, and v20, where an invalid public key used to create an x509 certificate using the crypto.X509Certificate() API causes unexpected process termination. This vulnerability was discovered and disclosed in June 2023, with patches released in Node.js versions 16.20.1, 18.16.1, and 20.3.1 (NodeJS Advisory).

Technical details

The vulnerability occurs when accessing public key information of provided certificates from user code using the crypto.X509Certificate() API. When an invalid public key is used, the process terminates unexpectedly instead of handling the error gracefully. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (MEDIUM) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

When exploited, this vulnerability leads to a denial of service (DoS) scenario as the process terminates unexpectedly when accessing public key information of provided certificates. The termination results in the loss of current user contexts and application processing interruptions (NodeJS Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Node.js versions 16.20.1, 18.16.1, and 20.3.1. Users are advised to upgrade to these or later versions to address the vulnerability (NodeJS Advisory).

Additional resources


SourceThis report was generated using AI

Related npm vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64756HIGH7.5
  • JavaScriptJavaScript
  • nodejs:22::nodejs-packaging-bundler
NoYesNov 17, 2025
CVE-2025-6965HIGH7.2
  • SQLiteSQLite
  • nodejs22-debugsource
NoYesJul 15, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • sqlite3
NoYesJul 29, 2025
CVE-2025-64118MEDIUM6.1
  • JavaScriptJavaScript
  • kibana-8.19
NoYesOct 30, 2025
CVE-2025-52099N/AN/A
  • SQLiteSQLite
  • sqlite-tcl
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management