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.
References
Configurations
Configuration 1 (hide)
|
History
27 Mar 2024, 03:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
04 Dec 2023, 17:39
Type | Values Removed | Values Added |
---|---|---|
CWE | NVD-CWE-Other | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
CPE | cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* | |
References | () https://nodejs.org/en/blog/vulnerability/june-2023-security-releases - Vendor Advisory |
28 Nov 2023, 20:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-11-28 20:15
Updated : 2024-03-27 03:15
NVD link : CVE-2023-30590
Mitre link : CVE-2023-30590
CVE.ORG link : CVE-2023-30590
JSON object : View
Products Affected
nodejs
- node.js
CWE