CVE catalog

CVE-2023-30590

nodejs: CVE-2023-30590

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.46% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1fixed
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1fixed
Debiannodejstrixie20.19.2+dfsg-1+deb13u2fixed
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3fixed
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2fixed
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3fixed
Cpenode.jsNot reported20.3.1fixed
Ubuntunodejspro6.11.4~dfsg-1ubuntu1vulnerable
Ubuntunodejspro6.11.4~dfsg-1ubuntu2vulnerable
Ubuntunodejspro6.12.0~dfsg-1ubuntu1vulnerable
Ubuntunodejspro6.12.0~dfsg-2ubuntu1vulnerable
Ubuntunodejspro6.12.0~dfsg-2ubuntu2vulnerable
Ubuntunodejspro8.10.0~dfsg-2vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.2vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.3vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm1vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm2vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm3vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm4vulnerable
Ubuntunodejspro8.10.0~dfsg-2ubuntu0.4+esm5fixed
Ubuntunodejs20.0410.15.2~dfsg-2ubuntu1vulnerable
Ubuntunodejs20.0410.17.0~dfsg-2ubuntu4vulnerable
Ubuntunodejs20.0410.17.0~dfsg-2ubuntu6vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1.1vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1.2vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1.3vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1.5vulnerable
Ubuntunodejs20.0410.19.0~dfsg-3ubuntu1.6fixed
Ubuntunodejs22.0412.22.5~dfsg-5ubuntu1vulnerable
Ubuntunodejs22.0412.22.7~dfsg-2ubuntu1vulnerable
Ubuntunodejs22.0412.22.7~dfsg-2ubuntu3vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu2vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3.1vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3.2vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3.3vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3.4vulnerable
Ubuntunodejs22.0412.22.9~dfsg-1ubuntu3.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid18.13.0+dfsg1-1.1not yet assignedNot reported[1039990]
Debiannodejssourceforky18.13.0+dfsg1-1.1not yet assignedNot reported[1039990]
Debiannodejssourcetrixie18.13.0+dfsg1-1.1not yet assignedNot reported[1039990]
Debiannodejssourcebookworm18.19.0+dfsg-6~deb12u1not yet assignedNot reported[1039990]
Cpenode.jscpeNot reported20.3.1Not reportedNVD-CVE-2023-30590Not reported
Ubuntunodejsdebpro8.10.0~dfsg-2ubuntu0.4+esm5Not reportedUBUNTU-CVE-2023-30590Not reported
Ubuntunodejsdeb20.0410.19.0~dfsg-3ubuntu1.6Not reportedUBUNTU-CVE-2023-30590Not reported
Ubuntunodejsdeb22.0412.22.9~dfsg-1ubuntu3.5Not reportedUBUNTU-CVE-2023-30590Not reported

[Debian bug #1039990]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References