Advisory

UBUNTU-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-04-22 14:06 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 10.19.0~dfsg-3ubuntu1.6 (ecosystem)

Fixed versions

10.19.0~dfsg-3ubuntu1.6

Fix

  • Fixed version 10.19.0~dfsg-3ubuntu1.6
    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) · Ubuntu 22.04

Affected

  • introduced 0, fixed 12.22.9~dfsg-1ubuntu3.5 (ecosystem)

Fixed versions

12.22.9~dfsg-1ubuntu3.5

Fix

  • Fixed version 12.22.9~dfsg-1ubuntu3.5
    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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences