CVE-2023-30590 Affecting nodejs package, versions <0.10.25~dfsg2-2ubuntu1.2+esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1404-NODEJS-5730686
  • published23 Mar 2024
  • disclosed28 Nov 2023

Introduced: 28 Nov 2023

CVE-2023-30590  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 nodejs to version 0.10.25~dfsg2-2ubuntu1.2+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs package and not the nodejs package as distributed by Ubuntu. See How to fix? for Ubuntu:14.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1