CVE-2023-30590 The advisory has been revoked - it doesn't affect any version of package nodejs:18/nodejs  (opens in a new tab)


Threat Intelligence

EPSS
1.46% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-NODEJS-11458507
  • published5 Aug 2025
  • disclosed20 Jun 2023

Introduced: 20 Jun 2023

CVE-2023-30590  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:18/nodejs package and not the nodejs:18/nodejs package as distributed by RHEL.

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.