CVE-2023-30590

Summary

CVECVE-2023-30590
StatePUBLISHED
Assignerhackerone
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-28 20:15:07 UTC
Updated2026-10-08 22:17:24 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Problem Types: NVD-CWE-Other

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Nodejs Node.js All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA NodeJS Node affected 4.0 4.* semver Not specified
CNA NodeJS Node affected 5.0 5.* semver Not specified
CNA NodeJS Node affected 6.0 6.* semver Not specified
CNA NodeJS Node affected 7.0 7.* semver Not specified
CNA NodeJS Node affected 8.0 8.* semver Not specified
CNA NodeJS Node affected 9.0 9.* semver Not specified
CNA NodeJS Node affected 10.0 10.* semver Not specified
CNA NodeJS Node affected 11.0 11.* semver Not specified
CNA NodeJS Node affected 12.0 12.* semver Not specified
CNA NodeJS Node affected 13.0 13.* semver Not specified
CNA NodeJS Node affected 14.0 14.* semver Not specified
CNA NodeJS Node affected 15.0 15.* semver Not specified
CNA NodeJS Node affected 16.0 16.20.1 semver Not specified
CNA NodeJS Node affected 17.0 17.* semver Not specified
CNA NodeJS Node affected 18.0 18.16.1 semver Not specified
CNA NodeJS Node affected 19.0 19.* semver Not specified
CNA NodeJS Node affected 20.0 20.3.1 semver Not specified

References

ReferenceSourceLinkTags
security.netapp.com/advisory/ntap-20241101-0011 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
nodejs.org/en/blog/vulnerability/june-2023-security-releases af854a3a-2127-422b-91ae-364da2661108 nodejs.org Vendor Advisory
lists.debian.org/debian-lts-announce/2024/09/msg00029.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
lists.debian.org/debian-lts-announce/2024/03/msg00029.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160824 Oracle Enterprise Linux Security Update for 18 (ELSA-2023-4330)
  • 160835 Oracle Enterprise Linux Security Update for nodejs (ELSA-2023-4331)
  • 160852 Oracle Enterprise Linux Security Update for nodejs:16 (ELSA-2023-4537)
  • 160853 Oracle Enterprise Linux Security Update for nodejs:18 (ELSA-2023-4536)
  • 241874 Red Hat Update for nodejs security (RHSA-2023:4331)
  • 241876 Red Hat Update for nodejs:18 security (RHSA-2023:4330)
  • 241930 Red Hat Update for nodejs:16 security (RHSA-2023:4537)
  • 241939 Red Hat Update for nodejs:18 security (RHSA-2023:4536)
  • 242085 Red Hat Update for nodejs:16 security (RHSA-2023:5361)
  • 242132 Red Hat Update for nodejs security (RHSA-2023:5533)
  • 284323 Fedora Security Update for nodejs18 (FEDORA-2023-6b866fbe84)
  • 284328 Fedora Security Update for nodejs16 (FEDORA-2023-61e40652be)
  • 284329 Fedora Security Update for nodejs16 (FEDORA-2023-608a1417d3)
  • 284330 Fedora Security Update for nodejs18 (FEDORA-2023-cdddce304a)
  • 355624 Amazon Linux Security Advisory for nodejs : ALAS2023-2023-237
  • 6000404 Debian Security Update for nodejs (DSA 5589-1)
  • 6000548 Debian Security Update for nodejs (DLA 3776-1)
  • 754181 SUSE Enterprise Linux Security Update for nodejs16 (SUSE-SU-2023:2861-1)
  • 941202 AlmaLinux Security Update for nodejs:18 (ALSA-2023:4330)
  • 941203 AlmaLinux Security Update for nodejs (ALSA-2023:4331)
  • 941221 AlmaLinux Security Update for nodejs:16 (ALSA-2023:4537)
  • 941222 AlmaLinux Security Update for nodejs:18 (ALSA-2023:4536)
  • 960969 Rocky Linux Security Update for nodejs:16 (RLSA-2023:4537)
  • 961042 Rocky Linux Security Update for nodejs:18 (RLSA-2023:4536)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report