Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2023-30590 →
Unrated

The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a pri...

UBUNTU-CVE-2023-30590 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSnodejs
< 0.10.25~dfsg2-2ubuntu1.2+esm2→ 0.10.25~dfsg2-2ubuntu1.2+esm2
Ubuntu:Pro:16.04:LTSnodejs
< 4.2.6~dfsg-1ubuntu4.2+esm3→ 4.2.6~dfsg-1ubuntu4.2+esm3
Ubuntu:Pro:18.04:LTSnodejs
< 8.10.0~dfsg-2ubuntu0.4+esm5→ 8.10.0~dfsg-2ubuntu0.4+esm5
Ubuntu:20.04:LTSnodejs
< 10.19.0~dfsg-3ubuntu1.6→ 10.19.0~dfsg-3ubuntu1.6
Ubuntu:22.04:LTSnodejs
< 12.22.9~dfsg-1ubuntu3.5→ 12.22.9~dfsg-1ubuntu3.5
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details