Advisory

DEBIAN-CVE-2023-30590

Also known as: CVE-2023-30590

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2023-11-28 20:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 18.19.0+dfsg-6~deb12u1 (ecosystem)

Fixed versions

18.19.0+dfsg-6~deb12u1

Fix

  • Fixed version 18.19.0+dfsg-6~deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 18.13.0+dfsg1-1.1 (ecosystem)

Fixed versions

18.13.0+dfsg1-1.1

Fix

  • Fixed version 18.13.0+dfsg1-1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 18.13.0+dfsg1-1.1 (ecosystem)

Fixed versions

18.13.0+dfsg1-1.1

Fix

  • Fixed version 18.13.0+dfsg1-1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences