Disclosure summary
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.
Source-reported weakness categories
NVD-CWE-Other
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2023-30590
Open original source · Updated Oct 08, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| nodejs | node.js | * {"versionStartIncluding":"20.0.0","versionEndExcluding":"20.3.1"} |
Original records & references
- NIST NVD record
- CVE Program record
- lists.debian.org
- nodejs.org — Vendor Advisory
- lists.debian.org
- lists.debian.org
- nodejs.org — Vendor Advisory
- security.netapp.com
PUBLISHED 2023-11-28T15:15:07-05:00
MODIFIED 2026-10-08T18:17:24-04:00
INGESTED 2026-10-10T20:50:21-04:00