CVE-2023-30590
Published: 28 November 2023
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.
Priority
Status
Package | Release | Status |
---|---|---|
nodejs
Launchpad, Ubuntu, Debian |
bionic |
Released
(8.10.0~dfsg-2ubuntu0.4+esm5)
Available with Ubuntu Pro |
focal |
Released
(10.19.0~dfsg-3ubuntu1.6)
|
|
jammy |
Released
(12.22.9~dfsg-1ubuntu3.5)
|
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
lunar |
Ignored
(end of life, was needs-triage)
|
|
mantic |
Released
(18.13.0+dfsg1-1ubuntu2.2)
|
|
noble |
Not vulnerable
(18.19.1+dfsg-2ubuntu4)
|
|
trusty |
Released
(0.10.25~dfsg2-2ubuntu1.2+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Needs triage
|
|
xenial |
Released
(4.2.6~dfsg-1ubuntu4.2+esm3)
Available with Ubuntu Pro |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |