ADVISORIES

Vulnerability

CVE-2023-30590

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.

54 advisories report this vulnerability, across 13 ecosystems.

Advisories

  • ALAS2023-2023-237

    Amazon Linux 2023 - ALAS2023-2023-237: Important priority package update for nodejs

    Important CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Amazon Linux Updated 20 July 2023
  • ALSA-2023:4330

    Moderate: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 AlmaLinux Updated 29 October 2026
  • ALSA-2023:4331

    Moderate: nodejs security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 AlmaLinux Updated 29 October 2026
  • ALSA-2023:4536

    Moderate: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 AlmaLinux Updated 9 November 2026
  • ALSA-2023:4537

    Moderate: nodejs:16 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 AlmaLinux Updated 29 October 2026
  • CGA-77vq-fpjm-6qjw
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CGA-8r4x-cxh5-58wm
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CGA-8vfg-r2qc-q7p6
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CGA-jjj9-qc2g-3g9c
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CGA-mrh6-pc9r-cvv9
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CGA-vfjp-jp9w-4c63
    CVE-2023-30590 ChainguardWolfi Updated 5 November 2026
  • CNA-CVE-2023-30590

    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…

    CVE-2023-30590 Node.js Updated 8 October 2026
  • DEBIAN-CVE-2023-30590

    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…

    CVE-2023-30590 Debian Updated 26 October 2026
  • DLA-3776-1

    nodejs - security update

    CVE-2023-30590CVE-2023-46809CVE-2024-22025 Debian Updated 20 November 2026
  • DLA-3886-1

    nodejs - security update

    CVE-2023-30589CVE-2023-30590CVE-2023-32559CVE-2023-46809 Debian Updated 20 November 2026
  • DSA-5589-1

    nodejs - security update

    CVE-2023-23918CVE-2023-23919CVE-2023-23920CVE-2023-30581 Debian Updated 20 November 2026
  • ELSA-2023-12933

    ELSA-2023-12933: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12934

    ELSA-2023-12934: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12935

    ELSA-2023-12935: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12936

    ELSA-2023-12936: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12937

    ELSA-2023-12937: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12938

    ELSA-2023-12938: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12939

    ELSA-2023-12939: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12940

    ELSA-2023-12940: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12941

    ELSA-2023-12941: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12942

    ELSA-2023-12942: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12943

    ELSA-2023-12943: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-12944

    ELSA-2023-12944: GraalVM Security update (IMPORTANT)

    Important CVE-2023-22067CVE-2023-22081CVE-2023-30588CVE-2023-30589 Oracle Linux Updated 24 October 2023
  • ELSA-2023-4330

    ELSA-2023-4330: 18 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Oracle Linux Updated 2 August 2023
  • ELSA-2023-4331

    ELSA-2023-4331: nodejs security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Oracle Linux Updated 2 August 2023
  • ELSA-2023-4536

    ELSA-2023-4536: nodejs:18 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Oracle Linux Updated 10 August 2023
  • ELSA-2023-4537

    ELSA-2023-4537: nodejs:16 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Oracle Linux Updated 10 August 2023
  • OESA-2023-1551

    nodejs security update

    Critical CVE-2022-25881CVE-2022-32212CVE-2022-32213CVE-2022-32214 openEuler Updated 18 August 2026
  • RHSA-2023:4330

    Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Red Hat Updated 24 November 2026
  • RHSA-2023:4331

    Red Hat Security Advisory: nodejs security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Red Hat Updated 24 November 2026
  • RHSA-2023:4536

    Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Red Hat Updated 24 November 2026
  • RHSA-2023:4537

    Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Red Hat Updated 24 November 2026
  • RHSA-2023:5361

    Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update

    CVE-2022-25883CVE-2023-30581CVE-2023-30588CVE-2023-30589 Red Hat Updated 23 November 2026
  • RHSA-2023:5533

    Red Hat Security Advisory: nodejs security, bug fix, and enhancement update

    CVE-2022-25881CVE-2022-4904CVE-2023-23920CVE-2023-23936 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2023-30590

    nodejs: DiffieHellman do not generate keys after setting a private key

    Moderate CVE-2023-30590 Red Hat Updated 24 November 2026
  • RLSA-2023:4330

    Moderate: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Rocky Linux Updated 7 November 2026
  • RLSA-2023:4536

    Moderate: nodejs:18 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Rocky Linux Updated 5 February 2026
  • RLSA-2023:4537

    Moderate: nodejs:16 security, bug fix, and enhancement update

    CVE-2023-30581CVE-2023-30588CVE-2023-30589CVE-2023-30590 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2023:2655-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSE Updated 2 May 2025
  • SUSE-SU-2023:2662-1

    Security update for nodejs18

    CVE-2022-25881CVE-2023-30581CVE-2023-30585CVE-2023-30588 SUSE Updated 2 May 2025
  • SUSE-SU-2023:2663-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2669-1

    Security update for nodejs18

    CVE-2022-25881CVE-2023-30581CVE-2023-30585CVE-2023-30588 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2861-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSE Updated 4 February 2026
  • SUSE-SU-2023:3306-1

    Security update for nodejs14

    CVE-2023-30581CVE-2023-30589CVE-2023-30590CVE-2023-32002 SUSE Updated 4 February 2026
  • SUSE-SU-2023:3408-1

    Security update for nodejs14

    CVE-2023-30581CVE-2023-30589CVE-2023-30590CVE-2023-32002 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:3455-1

    Security update for nodejs12

    CVE-2023-23918CVE-2023-30581CVE-2023-30589CVE-2023-30590 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2023-30590

    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…

    CVE-2023-30590 Ubuntu Updated 24 November 2026
  • USN-6735-1

    nodejs vulnerabilities

    CVE-2023-30588CVE-2023-30589CVE-2023-30590 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2024:13021-1

    corepack20-20.3.1-1.1 on GA media

    CVE-2023-30581CVE-2023-30582CVE-2023-30583CVE-2023-30584 openSUSE Updated 4 February 2026

References