CVE-2023-30588: Process interruption due to invalid Public Key information in x509 certificates
Last updated 24 July 2024
Other sources
Node.js is vulnerable to a denial of service, caused by invalid public key information in x509 certificates. By accessing public key info of provided certificates from user code, an attacker could exploit this vulnerability to force interruptions of application processing and cause a denial of service.
— IBM
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.
— Node.Js
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.20.1Fixed in 18.16.1Fixed in 20.3.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.20.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.16.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20.3.1 - Upgrade
Upgrade
debian/nodejsto a version that resolves this vulnerability.Fixed in 18.19.0+dfsg-6~deb12u1 - Upgrade
Upgrade
debian/nodejsto a version that resolves this vulnerability.Fixed in 18.13.0+dfsg1-1.1 - Upgrade
Upgrade
debian/nodejsto a version that resolves this vulnerability.Fixed in 18.19.0+dfsg-6~deb12u1Fixed in 18.13.0+dfsg1-1.1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID for this Node.js vulnerability?
The vulnerability ID for this Node.js vulnerability is CVE-2023-30588.
What is the title of this vulnerability?
The title of this vulnerability is 'Node.js is vulnerable to a denial of service caused by invalid public key information in x509 certificates.'
What is the severity of CVE-2023-30588?
The severity of CVE-2023-30588 is medium with a severity score of 5.3.
How does this vulnerability impact Node.js?
This vulnerability could be exploited by accessing public key info of provided certificates to force interruptions of application processing and cause a denial of service.
How can I fix this vulnerability?
To fix this vulnerability, update your Node.js installation to the latest version available.