🛡️ CVE-2023-30590 on Ubuntu — nodejs
Description
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.
Distribution advisory
This page covers CVE-2023-30590 as tracked by Ubuntu, for the package nodejs. The fix is available in version 12.22.9~dfsg-1ubuntu3.5; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.
Affected software and timeline
Affected software: nodejs (fixed in 12.22.9~dfsg-1ubuntu3.5). Published on 28 November 2023 and last revised on 22 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
ubuntu.com (Report)
nodejs.org (Report)
www.cve.org (Report)
ubuntu.com (Advisory)
CVE-2023-30590 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| nodejs | — | 12.22.9~dfsg-1ubuntu3.5 |
References
Similar Threats
- Unknown ALPINE-CVE-2022-32212
- Unknown ALPINE-CVE-2022-32213
- Unknown ALPINE-CVE-2022-32214
- Unknown ALPINE-CVE-2022-32215
- Unknown ALPINE-CVE-2021-44531
Site Security Check
Is nodejs part of your stack?
UBUNTU-CVE-2023-30590 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.