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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "libnode-dev" }, { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "libnode108" }, { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "libnode108-dbgsym" }, { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "nodejs" }, { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "nodejs-dbgsym" }, { "binary_version": "18.19.1+dfsg-2ubuntu4", "binary_name": "nodejs-doc" } ] }