CVE-2023-30590: High severity ibm planning analytics cloud vulnerability
Last updated 24 July 2024
Other sources
Node.js could provide weaker than expected security, caused by the failure to generate keys after setting a private key by the generateKeys() API function. By sending a specially crafted request, an attacker could exploit this vulnerability to launch further attacks on the system.
— IBM
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values".
The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.
— NVD
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet.
References: https://nodejs.org/en/blog/vulnerability/june-2023-security-releases
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-30590?
CVE-2023-30590 is a vulnerability that affects the generateKeys() API function returned from crypto.createDiffieHellman() in Node.js.
How does CVE-2023-30590 impact Node.js?
CVE-2023-30590 allows an attacker to generate missing or outdated keys in Node.js, potentially compromising the security of cryptographic operations.
What is the severity of CVE-2023-30590?
CVE-2023-30590 has a severity rating of high, with a score of 7.5.
Which versions of Node.js are affected by CVE-2023-30590?
CVE-2023-30590 affects Node.js versions 16.0.0 to 16.20.1, 18.0.0 to 18.16.1, and 20.0.0 to 20.3.1.
How can I fix CVE-2023-30590?
To fix CVE-2023-30590, update your Node.js installation to a version that includes the security patch provided by the Node.js team.